Versatile Profile Card Design using HTML and CSS

                                                                                































Hello Developers, we are delighted to introduce a sleek and versatile profile card snippet, meticulously designed with HTML and CSS. This profile card is ideal for showcasing individual profiles, whether for team members, clients, or personal use. Each card features a photo, name, title, and a brief description, providing a comprehensive snapshot of the individual. The profile card snippet is fully responsive, ensuring it looks stunning on any device, from desktops to smartphones. The layout is clean and modern, with well-organized sections that effectively highlight the profile details. Interactive elements, such as hover effects, can be added to enhance user engagement, making the cards more dynamic and captivating. Additionally, social media icons can be included, allowing users to connect with the individual across various platforms. Incorporating this HTML and CSS profile card snippet into your website not only enhances its visual appeal but also adds a professional touch. This snippet showcases your attention to detail and your commitment to providing a rich user experience. Whether you are displaying your team, highlighting clients, or creating personal profiles, this stylish and functional card design will help you present individuals in an engaging and professional manner.

How to make Versatile 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 lang="en"> <head> <title>Responsive profile card Using HTML & CSS</title> <meta name="description" content="Responsive profile Card Using HTML & CSS. Made by learningrobo.com"> <meta name="author" content="learningrobo.com"> <meta name="keywords" content="form,responsive,learningrobo.com,html & css projects,project,profile"> <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> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300&display=swap" rel="stylesheet"> </head> <body> <div class="box"> <div class="p1"> <h1>Profile</h1> <p>I'm a creative PHP webdeveloper</p> </div> <div class="p2"> <div class="c1"> <h4>About me</h4> <p>I am an allround web developer. I am a senior programmer with good knowledge of front-end techniques. Lorem ipsum dolor sit amet consectetur adipisicing elit. Ducimus quis vel, molestiae ipsa eaque laboriosam assumenda qui repellat optio iure sunt atque ex nemo cumque quo ab eligendi labore. Officiis.</p> </div> <div class="c2"> <img src="https://cdn.pixabay.com/photo/2018/11/30/07/11/male-3847134_1280.jpg" alt="user image"> </div> <div class="c3"> <h4>Details</h4> <h5>Name:</h5> <h6>Hunter Norton</h6><br><br> <h5>Age:</h5> <h6>33 years</h6><br><br> <h5>Location:</h5> <h6>'s-Hertogenbosch, The Netherlands, Earth'</h6><br><br> <div class="icon"> <i class="fa-brands fa-facebook-f" style="color: #000000;"></i> <i class="fa-brands fa-twitter" style="color: #000000;"></i> <i class="fa-brands fa-instagram" style="color: #000000;"></i> </div> </div> </div> </div><br> <div class="credit">Made with <span>❤ </span>by <a href="https://www.learningrobo.com/">learningrobo</a></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: 'Josefin Sans', sans-serif;
}
.box{
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.p1{
    width: 100vw;
    height: 25vh;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}
.p1 h1{
    margin-top: 20px;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 1px;
}
.p1 p{
    margin: 0%;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}
.p2{
    width: 100vw;
    height: 75vh;
    display: flex;
    flex-direction: row;
}
.c1{
    width: 35vw;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.c1 h4{
    font-size: 35px;
    margin: 40px 60px;
}
.c1 p{
    font-size: 19px;
    font-weight: bold;
    margin: 10px 50px 0px 60px;
    line-height: 2;
}
.c2{
    width: 30vw;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.c2 img{
    width: 260px;
    height: 240px;
    border-radius: 50%;
    border: 1px solid gray;
}
.c3{
    width: 35vw;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.c3 h4{
    font-size: 35px;
    margin: 40px 40px;
}
.c3 h5{ 
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0px 0px 40px;
}
.c3 h6{
    font-size: 20px;
    font-weight: 500;
    margin: 10px 50px 0px 40px;
}
.icon{
    display: flex;
    flex-direction: row;
    margin: 10px 50px 0px 40px;
    column-gap: 25px;
}
.credit a {
    text-decoration: none;
    color: #000000;
    font-weight: 800;
  }
  
.credit{
    color: #000000;
    text-align: center;
    margin-top: 10px;
    font-family: Verdana,Geneva,Tahoma,sans-serif;
}
.credit span{
    color:tomato;
    font-size:20px;
} 
@media (max-width:800px) {
    .box{
        width: 100vw;
        text-align: center;
    }
    .p1{
        width: 100vw;
        height: 25vh;
    }
    .p2{
        flex-direction: column;
        row-gap: 30px;
    }
    .c1{
        width: 100vw;
        height: 75vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        order: 2;
    }
    .c2{
        width: 100vw;
        height: 75vh;
        order: 1;
    }
    .c2 img{
        width: 310px;
        height: 300px;
    }
    .c3{
        width: 100vw;
        height: 75vh;
        justify-content: center;
        order: 3;
    }
    .icon{
        margin-bottom: 30px;
    }
    .credit{
        margin-top: 130vh;
    }
}
We hope you would like this Versatile Profile Card Design using HTML and CSS.

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

Post a Comment

Thank you
Learning robo team

Post a Comment (0)

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