How to make About me 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{
font-family: 'Heebo', sans-serif;
margin:0;
}
.container{
width: 100vw;
height: 100vh;
display: flex;
flex-direction:column;
justify-content: center;
align-items: center;
}
.box{
width:90%;
height:90%;
display: flex;
flex-direction:row;
align-items: center;
}
.p1{
width:50%;
height:100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.p1 img{
width: 80%;
height:90%;
object-fit: cover;
}
.p2{
width: 50%;
height:100%;
padding:3% 0px;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
}
.p2 h1,p{
margin: 0%;
}
.p2 h1{
font-size: 40px;
}
.p2 p{
font-size: 20px;
margin-top: 50px;
}
button{
padding: 20px;
background: transparent;
outline: none;
border: 1px solid #575958;
font-size: 18px;
font-weight: bold;
margin-top: 50px;
transition:1s;
transition-timing-function:ease-in-out;
}
button:hover{
cursor: pointer;
background-color:#00d66b;
}
.logo{
display: flex;
flex-direction: row;
column-gap: 25px;
margin-top: 50px;
}
.logo i{
font-size:28px;
color: #121212;
}
@media screen and (max-width:630px){
.container{
height: fit-content;
}
.box{
margin:10px 0px;
flex-direction: column;
}
.p1{
width: 85vw;
}
.p1 img{
width:100%;
}
.p2{
width: 85vw;
}
}
.credit a{
text-decoration: none;
color: #121212;
font-weight: 800;
}
.credit{
color: #121212;
text-align:left;
margin-top: 30px;
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 About me 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.
Post a Comment
Thank you
Learning robo team