Profile Card Using HTML and CSS































Hello Developers, We provide you with a dynamic and eye-catching Profile card that displays your information visually. This profile card snippet has been created accurately using HTML and CSS. Let's take a closer look at our profile card. The profile card snippet creates a strong initial impression by displaying the user's name, designation & profile picture. Further down the card, social media information is displayed. At the bottom of card, you can find a message me & download cv buttons which allow you to connect with other interested users. The full responsive profile card allows you to display the information on a wide variety of devices such as Desktop, Laptop, Tablet & Smartphone. By using this profile card HTML & CSS template, you’re not only sharing data but you’re also showing your commitment to professionalism and cutting-edge web design. Note: We have saved the CSS in a different file and linked it to the Profile card HTML template.

How to make 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,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="container"> <div class="sub-container"> <div class="sub-container-top"> <i class="fa-solid fa-arrow-left"></i> <i class="fa-solid fa-share-nodes"></i> </div> <div class="sub-container-middle"> <img src="https://cdn.pixabay.com/photo/2016/03/26/20/36/young-1281293_1280.jpg"> <h1>Belly Fisher</h1> <h4>Photographer</h4> </div> <div class="sub-container-icon"> <i class="fa-brands fa-facebook"></i> <i class="fa-brands fa-instagram"></i> <i class="fa-brands fa-linkedin"></i> <i class="fa-brands fa-twitter"></i> </div> <div class="sub-container-button"> <button>Message me</button> <button>Download CV</button> </div> <div class="sub-container-bottom"> <i class="fa-regular fa-heart">32k</i> <i class="fa-regular fa-comment">22k</i> <i class="fa-regular fa-share-from-square">12k</i> </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
**/
@import url('https://fonts.googleapis.com/css2?family=Yantramanav&display=swap');
*{
    box-sizing: border-box;
}
h1,h4{
    margin:0%;
}
body{
    background-color:#A0C49D;
    font-family: 'Mukta', sans-serif;
    margin:0%;
}
.container{
    min-height:100vh;
    max-height:auto;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}
.sub-container{
    display: flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    border-radius: 20px;
    width:350px;
    height:550px;
    background-color: #E1ECC8;
    box-shadow: rgba(128,128,128,0.6) 0px 7px 19px 0px;
}
.sub-container-top{
    display: flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    padding: 0px 20px;
    width:100%;
    height:fit-content;
}
.sub-container-top i{
    display:flex;
    justify-content: center;
    align-items: center;
    height:40px;
    width:40px;
    font-size:16px;
    border-radius: 50%;
    background-color:rgba(255,255,255,0.3);
    border:2px solid #A0C49D;
}
.sub-container-top i:hover{
    cursor: pointer;
    background-color:#A0C49D;
    transition:.5s;
    border:2px solid #000;
}
.sub-container-middle{
    display: flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    width:100%;
    height:300px;
}
.sub-container-middle img{
    height:200px;
    width:200px;
    border-radius: 50%;
    border:5px solid #A0C49D;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    margin-bottom: 10px;
}
.sub-container-icon{
    display:flex;
    flex-direction:row;
}
.sub-container-icon i{
    display:flex;
    justify-content: center;
    align-items: center;
    height:40px;
    width:40px;
    font-size:20px;
    border-radius: 50%;
    margin:10px 0px 10px 15px;
    background-color:rgba(255,255,255,0.3);
    border:2px solid #A0C49D;
}
.sub-container-icon i:hover{
    cursor: pointer;
    background-color:#A0C49D;
    transition:.5s;
    border:2px solid #000;
}
.sub-container-button{
    display: flex;
    flex-direction:row;
    padding:10px 20px;
    gap:5px;
}
.sub-container-button button{
    background-color:rgba(255,255,255,0.3);
    border:2px solid #A0C49D;
    color: #000;
    padding:12px 20px;
    border-radius: 20px;
}
.sub-container-button button:hover{
    cursor: pointer;
    background-color: #A0C49D;
    transition:.5s;
    border:2px solid #000;
}
.sub-container-bottom{
    display:flex;
    flex-direction:row;
    justify-content: space-between;
}
.sub-container-bottom i{
    display: flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    margin: 20px 20px 0px 20px;
    gap:5px;
    width:100%;
    height:fit-content;
}
@media only screen and (max-width: 630px){
    .sub-container{
        width:85%;
        height:520px;
    }
}
.credit a{
    text-decoration: none;
    color: #000;
    font-weight: 800;
}
.credit{
    color: #000;
    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 Profile Card Using HTML and CSS.

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

إرسال تعليق

Thank you
Learning robo team

Post a Comment (0)

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