How to Create A Responsive Footer Section in 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
**/
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:ital,wght@1,300&family=Fira+Sans:wght@200;400&family=Mukta:wght@300&family=Nunito+Sans:opsz,wght@6..12,300&family=Satisfy&display=swap');
*{
box-sizing: border-box;
}
body{
background-color:#A7727D;
font-family: 'Fira Sans Condensed', sans-serif;
margin:0%;
}
.container{
min-height:100vh;
max-height:auto;
display:flex;
flex-direction:column;
justify-content:end;
align-items:center;
}
.sub-container{
display: flex;
flex-direction:column;
justify-content:center;
align-items:center;
border-radius: 10px;
width:95%;
height:auto;
background-color: #EDDBC7;
box-shadow: rgba(128,128,128,0.6) 0px 7px 19px 0px;
}
.sub-container-1{
display:flex;
flex-direction:row;
justify-content:space-between;
align-items:center;
padding: 0px 50px;
width:100%;
height:fit-content;
}
hr{
width:95%;
border: 1px solid #000;
}
.sub-container-2{
display: flex;
flex-direction:row;
justify-content:center;
align-items:center;
width:100%;
height:fit-content;
margin-top:20px;
}
.sub-container-2 i{
display:flex;
justify-content:center;
align-items:center;
height:40px;
width:40px;
font-size:16px;
border-radius: 50%;
border:2px solid #A7727D;
margin-left:5px;
}
.sub-container-2 i:hover{
cursor: pointer;
background-color:#A7727D;
transition:.5s;
border:2px solid #000;
}
@media only screen and (max-width: 630px){
.sub-container-1{
display: flex;
flex-direction: column;
align-items: flex-start;
}
}
.credit a{
text-decoration: none;
color: #000;
font-weight: 800;
}
.credit{
color: #000;
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 Section 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.
إرسال تعليق
Thank you
Learning robo team