How to make Footer UI using html and css.[Source Code]
To make this website, you would like to make two files: an HTML file, a CSS file. First, create an HTML file with the name of index.html and remember, you have to create a file with a .html extension.
/**
Hello Future Developer Thanks for Using learningrobo.com,
Check our website Regularly For New Snippets Post.
Share & Support us
**/
*{
box-sizing: border-box;
}
body{
font-family: 'Red Hat Display', sans-serif;
margin: 0%;
}
.container{
display: flex;
flex-direction: column;
align-items: center;
justify-content: end;
width: 100%;
height: 100vh;
background-color:#ddd;
}
.box{
width: 100%;
height: 85vh;
display: flex;
flex-direction: column;
}
.section1{
width: 100%;
height: 20vh;
background-color: black;
color: white;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.head1{
width: 33.3%;
display: flex;
flex-direction: row;
column-gap: 10px;
}
.head2{
width: 33.3%;
display: flex;
flex-direction: row;
column-gap: 10px;
}
.head3{
width: 33.3%;
display: flex;
flex-direction: row;
column-gap: 10px;
}
.in1{
width: 20%;
display: flex;
justify-content: center;
align-items: center;
}
.in2{
width: 80%;
display: flex;
flex-direction: column;
justify-content: center;
}
.in2 p{
margin: 0%;
font-size: 15px;
font-weight: 600;
letter-spacing: 2px;
}
.section2{
width: 100%;
height: 65vh;
background-color: white;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.content1{
width: 20%;
height: 65vh;
display: flex;
column-gap: 10px;
}
.company{
display: flex;
flex-direction: row;
justify-content: center;
margin: 30px;
}
.content2{
width: 20%;
height: 65vh;
display: flex;
flex-direction: column;
}
.logo{
width: 100%;
display: flex;
flex-direction: row;
justify-content: left;
column-gap: 40px;
margin-left: 10px;
margin-top: 30px;
}
.content3{
width: 20%;
height: 65vh;
display: flex;
flex-direction: column;
}
.content4{
width: 20%;
height: 65vh;
display: flex;
flex-direction: column;
}
.content5{
width: 20%;
height: 65vh;
display: flex;
flex-direction: column;
}
a{
text-decoration: none;
color: grey;
}
h5{
margin: 20px 10px;
font-size: 20px;
letter-spacing: 1px;
font-weight: bold;
}
p{
margin: 10px 10px;
font-size: 18px;
font-weight: 600;
}
@media screen and (max-width:1024px){
.box{
height: fit-content;
}
.section1{
height: fit-content;
}
}
@media screen and (max-width:630px){
.container{
height:fit-content;
}
.box{
height: fit-content;
}
.head1,.head2,.head3{
width:80%;
align-items:center;
}
.section1{
flex-direction: column;
justify-content: center;
align-items: center;
row-gap: 60px;
}
.section2{
height: fit-content;
flex-direction: column;
}
.content1{
width: 100%;
height: max-content;
justify-content: center;
align-items: center;
}
.content2{
width: 100%;
height: 30vh;
justify-content: center;
align-items: center;
}
.logo{
justify-content: center;
align-items: center;
}
.content3{
width: 100%;
height: max-content;
justify-content: center;
align-items: center;
}
.content4{
width: 100%;
height: max-content;
justify-content: center;
align-items: center;
}
.content5{
width: 100%;
height: max-content;
justify-content: center;
align-items: center;
}
}
.credit a{
text-decoration: none;
color: black;
font-weight: 800;
}
.credit{
color: black;
text-align: center;
margin-top: 10px;
font-family: Verdana,Geneva,Tahoma,sans-serif;
}
.credit span{
color:tomato;
font-size:20px;
}
Thank you for reading our blog. If you face any problem in Creating a Footer UI using html and css., then contact us or comment to us. We’ll try to provide a solution to your problem as soon as possible.
Explore
Press The Key ' p ' and say ' read article ' our voice assistant read our article.
In Our older post it doesnot work we working on that.
In Our older post it doesnot work we working on that.
Post a Comment
Thank you
Learning robo team