How to make Functional Team Members 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;
}
.container{
height: 100vh;
width: 100vw;
background-color: aliceblue;
display: flex;
justify-content: center;
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
.p1{
height: 89%;
width: 85%;
background-color: bisque;
display: flex;
margin: auto;
justify-content: center;
flex-direction: column;
}
.d1{
height: 16%;
width: 100%;
background-color: aliceblue;
align-items: center;
text-align: center;
display: flex;
justify-content: center;
flex-direction: column;
}
header{
font-weight: 800;
font-size: 2em;
}
.line{
width: 60%;
border: 2px solid black;
}
.d2{
height: 84%;
width: 100%;
background-color: aliceblue;
display: flex;
justify-content: space-evenly;
align-items: center;
}
.sub1,.sub2,.sub3,.sub4{
height: 400px;
width: 220px;
background-color: aliceblue;
border-radius: 500px;
display: flex;
flex-direction: column;
justify-content: center;align-items: center;
margin: auto;
transition: all 0.2s ease-in-out;
}
.sub1 {
background-color: black;
color: red;
box-shadow: -3px -3px 7px #716c6c,3px 3px 5px rgb(117, 117, 120);
}
.sub2,.sub4{
background-color: red;
color: white;
box-shadow: -3px -3px 7px #f39c9c,3px 3px 5px rgb(223, 95, 95);
}
.sub3{
box-shadow: -3px -3px 7px #ffffff,3px 3px 5px #ceced1;
}
.sub1 img,.sub2 img,.sub3 img,.sub4 img{
height: 190px;
width: 190px;
border: 2px solid black;
border-radius: 50%;
object-fit: cover;
}
.circle{
height: 60px;
width: 60px;
border-radius: 50%;
border: 3px solid black;
translate: 0 45px;
background-color: aliceblue;
object-fit: cover;
font-size: 2em;
display: flex;
align-items: center;
justify-content: center;
color: black;
transition: all 0.2s ease-in-out;
}
span{
font-weight: 500;
text-align: center;
}
.circle:hover{
transform: scale(1.1);
}
.sub1:hover,.sub2:hover,.sub3:hover,.sub4:hover{
transform: scale(1.1);
}
@media screen and (max-width:980px){
.container{
height: auto;
width: auto;
}
.p1{
height: auto;
width: auto;
flex-direction: column;
}
.d1{
height: auto;
width: auto;
}
.line{
width: auto;
height:auto;
}
.d2{
flex-direction: column;
}
.sub1,.sub2,.sub3,.sub4{
margin-top: 30px;
margin-bottom: 30px;
}
}
.credit a {
text-decoration: none;
color: #121212;
font-weight: 800;
}
.credit {
color: #121212;
text-align: center;
margin-top: 10px;
font-family: Verdana,Geneva,Tahoma,sans-serif;
}
.credit span{
color:#000;
font-size:20px;
}
Thank you for reading our blog. If you face any problem in Creating a Funtional Team Members 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