Design a Social Media Profile Card using HTML and CSS





























Hello Developers, We provide you with a dynamic and eye-catching Profile card ui. This profile card snippet was designed with accuracy using HTML and CSS. An innovative and creative HTML and CSS profile card ui is an effective way to present information in an organized and eye-catching way. Introducing our profile card ui, beautifully designed with HTML and CSS. The profile card ui creates a strong initial impression by displaying the user’s name, designation, and profile picture. Then, social media information is displayed further down on the card. Because the profile card ui has a fully responsive design, it can be displayed on a wide range of devices, including desktops, laptops, tablets and smartphones. So, you are not just sharing information, you are showing your commitment to professionalism and modern web design. All in all, show off and engage with the world with our innovative and creative Profile card ui snippet.

How to Design a Social Media 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.

<!DOCTYPE html> <html> <head> <title>Profile Card UI design - learningrobo</title> <meta name="description" content="Profile Card UI design - learningrobo"> <meta name="author" content="learningrobo.com"> <meta name="keywords" content="profile card,Responsive,learningrobo.com,html & css projects"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="icon" type=image/x-icon href="#"> <link rel="stylesheet" href="style.css"> <meta charset="UTF-8"> <script src="https://kit.fontawesome.com/5d72166fb5.js" crossorigin="anonymous"></script> </head> <body> <!--Hello Future Developer Thanks for Using learningrobo.com, Share & Support us--> <div class="container"> <div class="box"> <div class="sec1"> <img src="https://cdn.pixabay.com/photo/2015/01/08/18/29/entrepreneur-593358_1280.jpg" alt="Profile Image"> <h3>John Jeo<h3p> <h5>Wed developer</h5> </div> <div class="sec2"> <a href="#"><i class="fa-brands fa-facebook"></i></a> <a href="#"><i class="fa-brands fa-square-instagram"></i></a> <a href="#"><i class="fa-brands fa-linkedin"></i></a> </div> </div> <div class="credit">Made with <span>❤ </span>by <a href="https://www.learningrobo.com/">learningrobo</a></div> </div> <!--Check our website Regularly For New Snippets Post--> </body> </html>
CSS provides style to an HTML page. To make the page attractive create a CSS file with the name style.css and remember that you have to make a file with a .css 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: Arial, sans-serif;
    margin:0%;
}
.container{
    width:100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    background-color: white;
}
.box{
    display:flex;
    flex-direction:column;
    text-align: center;
    border-radius:10px;
    width:300px;
    height:300px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.sec1{
    display:flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    height:230px;
    width:300px;
    border-radius:10px 10px 0px 0px;
    background-color:rgb(138, 184, 48);
}
.sec1 img{
    border-radius:50%;
    width:110px;
    height:110px;
    object-fit:cover;
    border:3px solid transparent;
    outline:4px solid aliceblue;
}
.sec1 h3{
    font-size:25px;
    margin:4px 0px;
    color:aliceblue;
    text-align: center;
    font-family:Verdana, Geneva, Tahoma, sans-serif ;
}
.sec1 h5{
    font-size:15px;
    margin:2px 0px;
    color:aliceblue;
    text-align: center;
    font-family:Verdana, Geneva, Tahoma, sans-serif ;
}
.sec2{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-around;
    height:70px;
    width:300px;
    border-radius:0px 0px 10px 10px;
    background-color:rgb(228, 228, 228);
}
.sec2 i{
    font-size:30px;
    color:#383838;
    margin:2px 0px;
}
.sec2 i:hover{
    cursor: pointer;
    color:#212121;
}
@media screen and (max-width:630px){
    .box{
        width:98%;
    }
    .sec1,.sec2{
        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;
}     
We hope you would like this Social Media Profile Card Using HTML and CSS.

Thank you for reading our blog. If you face any problem in Creating a Social Media 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.

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.

Thank you
Learning robo team

Post a Comment

Thank you
Learning robo team

Post a Comment (0)

Previous Post Next Post
Learning Robo says...
code copied
Welcome