How to make Detail Footer Card Design 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: 'Jost', sans-serif;
margin: 0%;
}
.container{
height: 100vh;
background-color: #FFFBF5;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.box{
width: 95vw;
height: 85vh;
background-color: #7743DB;
display: flex;
flex-direction: column;
}
.con1{
width: 100%;
height: 70vh;
display: flex;
flex-direction: row;
}
.sec1{
width: 30%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: end;
}
.c1{
width: 90%;
height: 40%;
display: flex;
flex-direction: column;
row-gap: 10px;
}
.c2{
width: 90%;
height: 40%;
display: flex;
flex-direction: column;
row-gap: 10px;
}
span{
color: white;
font-weight: bolder;
font-size: 25px;
}
p{
margin: 0%;
color: #c0c0c0;
font-size: 18px;
font-weight: bold;
}
a{
color: #c0c0c0;
}
.sec2{
width: 30%;
display: flex;
flex-direction: column;
justify-content: center;
}
.c3{
width: 90%;
height: 40%;
display: flex;
flex-direction: column;
row-gap: 10px;
}
.c4{
width: 90%;
height: 40%;
display: flex;
flex-direction: column;
row-gap: 10px;
}
.sec3{
width: 40%;
display: flex;
align-items: center;
}
.c5{
width: 90%;
height: 80%;
}
form{
display: flex;
flex-direction: column;
row-gap: 20px;
}
input[type="email"]{
width: 80%;
background-color: transparent;
outline: none;
border: none;
border-bottom: 1px solid #FFFBF5;
font-size: 18px;
color: white;
margin-top: 40px;
}
.agree{
width: 100%;
display: flex;
flex-direction: row;
column-gap: 15px;
align-items: center;
}
input[type="checkbox"]{
width: 30px;
height: 30px;
}
.agree p{
font-size: 16px;
color: #FFFBF5;
letter-spacing: 1px;
}
.agree a{
color: #c0c0c0;
}
button{
width: 40%;
padding: 15px;
background-color: #FFFBF5;
outline: none;
border: none;
border-radius: 2px;
color: #7743DB;
font-size: 16px;
font-weight: bold;
letter-spacing: 1px;
}
button:hover{
color: #7f3bff;
}
.con2{
width: 100%;
height: 25vh;
display: flex;
flex-direction: row;
}
.f1{
width: 20%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
img{
width: 80%;
}
.f2{
width: 50%;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
column-gap: 30px;
}
.f2 a{
text-decoration: none;
}
a:hover{
color: #FFFBF5;
}
.f3{
width: 30%;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
column-gap: 25px;
}
.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;
}
@media screen and (max-width:1024px){
.container{
height: fit-content;
}
.box{
height: fit-content;
}
.con1{
height: fit-content;
}
.sec1,.sec2,.sec3{
height: fit-content;
}
.con2{
height: fit-content;
}
.f1,.f2,.f3{
height: fit-content;
}
}
@media screen and (max-width:630px){
.container{
height: fit-content;
}
.box{
height: fit-content;
width: 90%;
row-gap: 40px;
}
.con1{
width: 100%;
height: fit-content;
flex-direction: column;
row-gap: 40px;
}
.sec1,.sec2,.sec3{
width: 100%;
height: fit-content;
row-gap: 40px;
margin-left: 10px;
}
.c1,.c2,.c3,.c4,.c5{
width: 100%;
}
.con2{
width: 100%;
height: fit-content;
flex-direction: column;
row-gap: 60px;
}
.f1,.f2,.f3{
width: 100%;
height: fit-content;
}
.f2{
flex-direction: column;
row-gap: 20px;
}
.f3{
margin-bottom: 40px;
}
}
Thank you for reading our blog. If you face any problem in Creating a Detail Footer Card Design 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