Glass morphism User Profile Card Design 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. Your name, description and profile picture are displayed at the top of the profile card snippet, creating a strong first impression. You can use it to introduce yourself to someone or share your information with others. The profile card snippet can be a helpful way to share your information with others. Finally, this profile card is fully responsive, which ensures a seamless display on different devices. Whether on a desktop, laptop, tablet or smartphone, your information will always be displayed in a clear and visually appealing 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. This profile card snippet is designed to captivate, engage and connect you with the world. Remark: The CSS is coded in a separate file and linked to the HTML file.

How to Create Glass morphism User 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"> <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="left-container"> <img src="https://cdn.pixabay.com/photo/2023/07/23/14/15/man-8145174_1280.jpg" alt="Profile Image"> <h2>Jack Wanderlea</h2> <h6>Web Developer</h6> <table> <tr> <th>Name :</th> <td>John Doe</td> </tr> <tr> <th>Age :</th> <td>35</td> </tr> <tr> <th>Mobile :</th> <td>+91 XXXXXXXXXX</td> </tr> <tr> <th>Email :</th> <td>john@example.com</td> </tr> <tr> <th>Address :</th> <td>123 Main St, Anytown, USA</td> </tr> </table> </div> <div class="right-container"> <div class="right-subcontainer1"> <h3>My Details</h3> </div> <div class="right-subcontainer2"> <h3>About me</h3> <p>Hello there! I'm [Your Name], a curious soul with a passion for exploring the world through words. As an avid writer and lifelong learner, I find joy in crafting stories that transport readers to new realms and sharing my insights on a wide range of topics. When I'm not lost in the realm of words, you might find me hiking through nature, experimenting with new recipes in the kitchen, or immersing myself in the melodies of classical music. Join me on this journey of discovery as we navigate life's intricacies one sentence at a time.</p> <h3>Social media</h3> <div class="wrapper"> <div class="button"> <div class="icon"><i class="fab fa-facebook-f"></i></div> <span>Facebook</span> </div> <div class="button"> <div class="icon"><i class="fab fa-instagram"></i></div> <span>Instagram</span> </div> <div class="button"> <div class="icon"><i class="fab fa-twitter"></i></div> <span>Twitter</span> </div> <div class="button"> <div class="icon"><i class="fab fa-youtube"></i></div> <span>YouTube</span> </div> </div> <div class="right-containerbtn"> <button>Contact me</button> <button>Share now</button> </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> </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://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
*{
    box-sizing: border-box;
}
html{
    height: 100%;
}
body{
    font-family: Arial, sans-serif;
    padding: 20px;
    height: 100%;
    background-image:url(Gradient\ Background\ Snip\ 5.png);
}
.section1{
    height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card{
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 10px;
    width:70%;
    height:620px; 
}
.left-container{
    background-color: rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(10px);
    width:35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height:570px;
    margin:1vh;
    padding:10px 5px;
    border-radius: 10px;
}
.left-container img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin:10px 0;
    border: 3px solid #fff;
}
.left-container h2{
    font-size: 24px;
    margin: 0;
    color:#fff;
}
.left-container h6{
    font-size: 12px;
    margin: 0;
    color:#ddd;
}
.right-container {
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(10px);
    width:65%;
    height:570px;
    padding:10px 15px;
    margin: 1vh;
    border-radius:10px;
}
.right-subcontainer1{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin:10px 0 20px 0;
}
.right-subcontainer1 h3{
    color: #fff;
    font-size: 24px;
    margin-bottom: 5px;
    margin:0;
}
.right-subcontainer2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin:20px 0 10px 0;
    padding:0 20px;
}
.right-subcontainer2 h3{
    color:#eee;
    font-size: 24px;
    margin-bottom: 5px;
    margin:0;
}
.right-subcontainer2 p{
    color:#ddd;
    font-size: 16px;
    margin-bottom: 5px;
    margin:15px 0; 
}
.right-subcontainer2 .right-containerbtn{
    display: flex;
    flex-direction:row;
    align-items: center;
    justify-content:space-evenly;
}
.right-containerbtn button{
    padding: 10px 20px;
    border-radius:5px;
    border: none;
    font-size:20px;
    background-color: rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(10px);
    color:#eee;
    margin:5px 0;
    transition: transform .5s;
}
.right-containerbtn button:hover{
    cursor: pointer;
    transform: scale(1.1);
}
.wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    margin:20px 0;
}
.wrapper .button{
    display: inline-block;
    height: 40px;
    width: 40px;
    float: left;
    margin: 0 5px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease-out;
    color:#fff
}
.wrapper .button:hover{
    width: 120px;
}
.wrapper .button .icon{
    display: inline-block;
    height: 40px;
    width: 40px;
    text-align: center;
    border-radius: 50px;
    box-sizing: border-box;
    line-height:40px;
    transition: all 0.3s ease-out;
}
.wrapper .button:nth-child(1):hover .icon{
    background: #4267B2;
}
.wrapper .button:nth-child(2):hover .icon{
    background: #E1306C;
}
.wrapper .button:nth-child(3):hover .icon{
    background: #1DA1F2;
}
.wrapper .button:nth-child(4):hover .icon{
    background: #ff0000;
}
.wrapper .button .icon i{
    font-size: 15px;
    line-height: 40px;
    transition: all 0.3s ease-out;
}
.wrapper .button:hover .icon i{
    color: #fff;
}
.wrapper .button span{
    font-size: 10px;
    font-weight: 500;
    line-height: 40px;
    margin-left: 10px;
    transition: all 0.3s ease-out;
}
table {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-collapse: collapse;
}
th{
    padding: 10px;
    border: none;
    color: #eee;
    text-align: right;
}
td {
    padding: 10px;
    border: none;
    color: #eee;
}
td:first-child {
    font-weight: bold;
}
@media only screen and (max-width: 1024px){
    .card{
        margin: 10px;
        height:100%;
        width: 95%;
    }
}
@media only screen and (max-width: 630px){
    .section1{
        height: fit-content; 
    }
    .card{
        flex-direction: column;
        margin: 10px;
        width: 100%;
        height: fit-content;
    }
    .left-container{
        width:100%;
        height: fit-content;
    }
    .right-container{
        width:100%;
        height: fit-content;
    }
    .right-subcontainer2 .right-containerbtn{
        flex-direction: column;
    }
    .wrapper{
        display: flex;
        flex-direction: column;
        margin:20px 0;
    }
    .wrapper .button{
        width: 120px;
        margin:5px 0;
    }
}
.credit a{
    text-decoration: none;
    color: #fff;
    font-weight: 800;
}
.credit{
    color: #fff;
    text-align: center;
    margin-top: 10px;
    font-family: Verdana,Geneva,Tahoma,sans-serif;
}
We hope you would like this Glass morphism User Profile Card Design using HTML and CSS.

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