How to make Personal profile card Using HTML 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: 'Exo 2', sans-serif;
margin:0px
}
.container{
display:flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height:100vh;
background-image: linear-gradient(-225deg, #20E2D7 0%, #F9FEA5 100%);
}
.box{
display:flex;
flex-direction: column;
height: 560px;
width: 380px;
border-radius:25px;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.box1{
display:flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 380px;
height: 210px;
background-color: #121212;
border-radius: 25px 25px 0px 0px;
text-align: center;
}
.box1 img{
width: 150px;
height: 150px;
border-radius: 50%;
margin:20px;
border: 5px solid transparent;
outline:3px solid #20E2D7;
}
.box2{
display:flex;
flex-direction: column;
align-items: center;
justify-content: center;
row-gap:10px;
width: 380px;
height: 350px;
background-color: #20E2D7;
border-radius: 0px 0px 25px 25px;
text-align: center;
padding:10px 0px;
}
h1,h4,h3{
margin: 0%;
}
.icon i{
color:#121212;
font-size:25px;
margin:20px 10px;
background-color: #F8FFF8;
padding:10px;
border-radius:50%;
height:45px;
width:45px;
}
button{
width: 280px;
padding: 20px;
border-radius: 30px;
border: none;
background-color: #F8FFF8;
font-size: 20px;
margin:20px 0px;
}
button:hover{
cursor: pointer;
}
@media screen and (max-width:630px){
.box{
width:95%;
}
.box1,.box2{
width:100%;
}
}
.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:tomato;
font-size:20px;
}
Thank you for reading our blog. If you face any problem in Creating a Personal profile card 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