Attractive Profile Card using HTML and CSS









Hello Developers, Learning Robo offers a dynamic and visually appealing profile card snippet that shows your information at a glance. This profile card snippet was precisely created using HTML and CSS. This profile card snippet is a great way to make a good first impression. It includes your name, id and profile picture at the top. Further down, you can add descriptions and social media details so that anyone can get in touch with you. There are also two buttons at the bottom for "Contact" and "Follow" so anyone interested can easily connect. And it's fully responsive, so you can use it on any device - desktop, laptop, tablet or even smartphone. With this HTML and CSS profile card snippet, you can not only share information, but also show off your expertise and stay ahead of web design trends. Get creative with this profile card snippet and show off your skills. Remark: CSS is a type of markup that is written to a separate file that is then associated with your HTML file. If you want to change the blur, you can do so in the CSS file -->.card & .cardbg --> backdrop-filter: blur();

How to Create Attractive 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="section1"> <div class="cardbg"></div> <div class="card"> <div class="cardin1"> <img src="https://cdn.pixabay.com/photo/2023/06/02/21/24/portrait-8036356_1280.jpg" alt="Profile Image"> </div> <div class="cardin2"> <h2>Jack mersi</h2> <h6>@jackmersidev</h6> <p>Web developer with a knack for crafting clean and dynamic online experiences. Turning ideas into interactive websites through code and creativity.</p> <div class="sicons"> <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 class="button"> <button>Follow</button> <button>Contact</button> </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> </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=Play&display=swap');
*{
    box-sizing: border-box;
}
html{
    height: 100%;
}
body {
    font-family: Arial, sans-serif;
    height: 100%;
    background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
}
.section1{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card{
    display: flex;
    flex-direction:row;
    justify-content: center;
    border-radius: 50px;
    width:700px;
    height:400px;
    padding:40px 20px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    background-color: rgba(255,255,255, 0.30);
    backdrop-filter: blur(0px);
}
.cardbg{
    z-index:0;
    position: absolute;
    border-radius: 50px;
    width:650px;
    height:400px;
    margin-top:50px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    background-color: rgba(255,255,255,.3);
    backdrop-filter: blur(10px);
}
.cardin1{
    display: flex;
    flex-direction:column;
    align-items:left;
    width:30%;
    padding:0 10px;
}
.cardin1 img{
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin:10px 0;
    border: 5px solid #fff;
    object-fit: cover;
}
.cardin2 h2{
    margin:2px 0;
    font-family: 'Play', sans-serif;
    font-size: 25px;
}
.cardin2 p{
    margin:10px 0;
}
.cardin2 h6{
    margin:2px 0;
    font-size:12px;
}
.cardin2{
    display: flex;
    flex-direction:column;
    justify-content: center;
    width:70%;
}
.sicons{
    display: flex;
    flex-direction: row;
    margin:12px 0;
}
.sicons i{
    background-color: #121212;
    margin: 2px 4px;
    padding: 10px;
    border-radius:30px;
    color:rgba(255,255,255, 0.90);
    font-size:20px;
    transition: .5s;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}
.button{
    margin:12px 0;
    display: flex;
}
.button button:nth-child(1){
    font-size:16px;
    padding:15px 40px;
    background-color: #121212;
    border: none;
    margin:0 4px;
    color: #fff;
    border-radius: 5px;
    transition: .5s;
}
.button button:nth-child(2){
    font-size:16px;
    padding:15px 40px;
    background-color: #fff;
    border: none;
    margin:0 4px;
    color: #121212;
    border-radius: 5px;
    transition: .5s;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}
.sicons i:hover{
    transform: scale(1.1);
    cursor: pointer;
}
.button button:hover{
    transform: scale(1.1);
    cursor: pointer;
}
@media only screen and (max-width: 630px) {
    .card{
        width:98%;
        flex-direction:column;
        height: fit-content;
    }
    .cardbg{
        display: none;
    }
}
.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 Attractive Profile Card Design using HTML and CSS.

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