Social Profile Card Design using HTML and CSS























Hello Developers, Learning Robo provides you with a high-quality, dynamic, and eye-catching profile card snippet. The profile card snippet has been carefully crafted in HTML and CSS. The profile card snippet shows your name, your designation, and your profile picture at the very top of the card. This makes a strong first impression. At the bottom, there’s a space for the contact me button so that you can easily contact each other. Below that, it shows your social media information. The profile card is fully responsive so that you can view the information on your desktop, laptop, tablet, or smartphone. All of this information is presented in an organized and beautiful way. With this HTML and CSS-powered profile card snippet, you're not only sharing information, but also making a statement about your commitment to professionalism and modern web design. Impress, engage and connect with the world through this creative and informative profile card snippet. Note: Keep in mind that the CSS is stored in its own file and is connected to the corresponding HTML file.

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.

<!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,project"> <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="section1"> <div class="card"> <div class="cardin1"> <img src="https://cdn.pixabay.com/photo/2019/09/03/06/15/girl-4448689_1280.jpg" alt="Profile Image"> </div> <div class="cardin2"> <h2>Jack Horn stanly</h2> <h6>Web developer</h6> <button>Contact Me</button> <div class="icons"> <i class="fab fa-youtube"></i> <i class="fab fa-facebook"></i> <i class="fab fa-twitter"></i> <i class="fab fa-linkedin"></i> </div> </div> </div> <div class="credit">Made with <span style="color:tomato;font-size:20px;">❤ </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
**/
@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;
}
We hope you would like this Social Profile Card Design using HTML and CSS.

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.

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

إرسال تعليق

Thank you
Learning robo team

Post a Comment (0)

أحدث أقدم
Learning Robo says...
code copied
Welcome