How to make Personal profile card 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{
margin: 0;
color: #ffffff;
font-family:sans-serif;
}
.sec1{
display: flex;
flex-direction: column;
align-items:center;
justify-content: center;
width:100%;
height:100vh;
background-image: linear-gradient(to top, #505285 0%, #585e92 12%, #65689f 25%, #7474b0 37%, #7e7ebb 50%, #8389c7 62%, #9795d4 75%, #a2a1dc 87%, #b5aee4 100%);
}
.container{
display: flex;
flex-direction: column;
align-items:center;
background: linear-gradient(to bottom, #363636, #121212);
border-radius: 10px;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
width: 400px;
height: 580px;
}
.profile-card{
display: flex;
flex-direction: column;
height: fit-content;
}
.d1{
width: 400px;
height: 250px;
background: linear-gradient(to bottom, #272727, #0e0e0e);
border-radius: 10px 10px 0px 0px;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.pic img{
border-radius: 50%;
width: 190px;
height: 190px;
display: flex;
object-fit: cover;
}
.info{
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 20px;
color: #ffffff;
text-align: center;
}
h2{
font-size: 24px;
color: #dddddd;
margin: 0;
}
p{
color: #565656;
margin: 10px 0;
}
.location{
display: flex;
align-items: center;
color: #dddddd;
}
.location ion-icon{
margin-right: 5px;
}
.buttons{
display: flex;
margin-top: 10px;
}
button{
border: none;
border-radius: 10px;
height: 30px;
width: 90px;
margin-right: 10px;
text-align: center;
line-height: 30px;
color: #dddddd;
background-color: #333;
cursor: pointer;
}
button:hover{
color: white;
background-color: coral;
}
.skills-title{
text-align: left;
margin: 0 47px;
color: #dddddd;
font-weight: bold;
font-size: 18px;
margin-bottom: 10px;
}
.skills ul{
display: flex;
flex-wrap: wrap;
list-style: none;
}
.skills li{
background-color: #666666;
color: #ffffff;
padding: 5px 10px;
margin: 5px;
border-radius: 5px;
}
@media screen and (max-width: 630px){
.d1{
width:100%;
}
.container{
width: 98%;
height: fit-content;
}
}
.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