How to make Social Profile 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
**/
@import url('https://fonts.googleapis.com/css2?family=Yantramanav&display=swap');
*{
    box-sizing: border-box;
}
:root{
    --bg:#fff;
    --fontcolor:#121212;
}
body{
    margin:0%;
}
.section1{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    background-color: #fbf8966e;
}
.card{
    display: flex;
    flex-direction:row;
    justify-content:space-between;
    border-radius: 10px;
    width:450px;
    height:250px;
    background-color:var(--bg);
    background-color: var(--bg);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.cardin1{
    display: flex;
    flex-direction:column;
    align-items:center;
    justify-content: center;
    border-radius:10px 0px 0px 10px;
    height:250px;
    width:110px;
    background-color: #fbed96;
}
.cardin1 img{
    width:110px;
    height:110px;
    border-radius:50%;
    margin:0px -110px 0px 0px;
    object-fit:cover;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.cardin2{
    display: flex;
    flex-direction:column;
    align-items:end;
    justify-content: center;
    height:260px;
    padding:20px 30px; 
    width:350px;
    color:var(--fontcolor)
}
.cardin2 h2{
    margin:0px;
    font-family: 'Yantramanav', sans-serif;
    font-size: 30px;
}
.cardin2 h6{
    font-family: 'Yantramanav', sans-serif;
    margin:0px;
    font-size:16px;
}
.cardin2 button{
    padding: 10px 40px;
    font-size: 16px;
    border-radius: 30px;
    transition: .5s;
    border:none;
    background-color: #fbed96;
    color:#282828;
    font-weight: 900;
    margin:10px 0px;
}
.cardin2 button:hover{
    transform: scale(1.05);
    cursor: pointer;
    background-color: #f9e352;
}
.cardin2 .icons{
    display: flex;
    align-items: end;
    margin:10px 0px;
}
.cardin2 .icons i{
    background-color: #f1f1f1;
    margin: 2px 4px;
    padding: 10px;
    border-radius:30px;
    color:#121212;
    font-size:20px;
}
.cardin2 .icons i:hover{
    cursor: pointer;
    background-color: #fbed96;
}
@media only screen and (max-width: 630px){
    .card{
        flex-direction: column;
        width:98%;
        height:fit-content;
    }
    .cardin1{
        width:100%;
        border-radius:10px;
    }
    .cardin1 img{
        margin: 0px;
    }
    .cardin2{
        width:100%;
        justify-content: center;
        align-items: center;
    }
}
.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;
}
Thank you for reading our blog. If you face any problem in Creating a Social Profile 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