How to make Profile card UI 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.
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');
*{
box-sizing: border-box;
}
.container{
height: 100vh;
width: 100vw;
background-color: rgb(142, 132, 132);
display: flex;
margin: 0;
padding: 0;
justify-content: center;
font-family: 'Poppins', sans-serif;
}
.p1{
height: 430px;
width:330px ;
display: flex;
flex-direction: column;
margin: auto;
border-radius: 20px;
box-shadow: -3px -3px 7px #ffffff,3px 3px 5px #ceced1;
}
.d1{
height: 70%;
width: auto;
border-radius: 20px 20px 0 0;
background: url('https://cdn.pixabay.com/photo/2016/03/27/17/40/man-1283231_1280.jpg');
background-size: 440px;
background-position: center;
display: flex;
flex-direction: column;
justify-content: end;
align-items: center;
color: white;
}
.circle{
height: 70px;
width: 70px;
background-color: rgb(117, 114, 119);
border-radius: 50%;
margin-bottom: -35px;
z-index: 99;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.3em;
box-shadow: 1px 5px 6px rgb(128, 122, 122);
transition: all 0.2s ease-in-out;
cursor: pointer;
}
.image{
display: flex;
flex-direction: column;
justify-content: end;
align-items: center;
}
.d2{
background-color: rgb(255, 255, 255);
height: 30%;
width: auto;
display: flex;
justify-content: space-evenly;
align-items: center;
border-radius: 0 0 20px 20px;
}
.d2 header{
color: #707070;
}
.d2 h5{
color: black;
}
.circle:hover{
transform: scale(1.1);
border: 2px solid white;
}
.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 Profile card UI 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