Table of Contents

Glassmorphism profile card

Share Now :

Title : Glassmorphism profile card using htmlcss | W3pupil

Description

Hello W3PUPIL!!

W3pupil provides a dynamic and visually appealing profile card snippet that showcases your information in a single glance. This profile card snippet is created with precision using HTML and CSS.

Your name and profile photo appear at the top of the profile card snippet, making a good first impression. Below that, there is space for displaying your details such as the areas you’re interested in. Below that, your social media details are displayed. At the bottom of the container, there’s a hire me button for anyone interested to reach out to you. This profile card snippet is also fully responsive, which makes it easy to view your information on different devices. Whether you’re on a desktop, a laptop, a tablet, or a smartphone, your information will always be displayed in an organized and attractive way.

With this HTML and CSS-powered profile card snippet, you’re not just sharing information – you’re 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.

Let's know how to create a file..

Creating and managing files and folders efficiently is crucial for a seamless development experience. A step-by-step tutorial is provided below:

W3pupil’s suggestion is to download and install Visual Studio Code.

  • After the successful completion of downloading and installing, open Visual Studio Code.
  • Create a new folder in your desktop.
  • Go to file and then open the folder created.
  • Then add a file for html with “.html” or “.htm” extension.
  • Also add another file for css with “.css” extension.
  • Now, you have a blank HTML file and CSS file ready for your code.

Let's know how to open a downloaded file..

  • After downloading the snippet file from W3pupil, you will receive a zip file.
  • Extract the file and open it in Visual Studio Code.
  • Now you have the HTML file and CSS file to work with.
  • Take time to fully understand the code’s functionality before making any desired changes.

Let's take a look at a code snippet created by W3pupil team using HTML and CSS.

HTML SOURCE CODE LOGO

HTML Source Code

HTML (Hypertext Markup Language) is a standard markup language for creating web pages, defining their structure and content using a system of tags and elements. (index.html)

  <!--Hello Future Developer Thanks for Using w3pupil.com, Share & Support us-->
<div class="container">
    <div class="container-card">
        <div class="container-card-top">
            <h1>Alesia Carl</h1>
        </div>
        <div class="container-card-middle">
            <div class="container-card-middle-left">
                <img src="https://cdn.pixabay.com/photo/2015/01/06/16/14/woman-590490_1280.jpg">
            </div>
            <div class="container-card-middle-right">
                <div>
                    <ul>
                        <li>Web Developer</li>
                        <li>Web Designer</li>
                        <li>Graphic Designer</li>
                    </ul>
                </div>
                <div class="container-card-middle-right-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>
        </div>
        <div class="container-card-bottom">
            <button>Hire Me</button>
        </div>
        <div class="credit">Made with <span>❤ </span>by <a href="https://www.w3pupil.com/">W3pupil</a></div>
    </div>
</div>
<!--Check our website Regularly For New Snippets Post-->  
CSS SOURCE CODE IMAGE

CSS Source Code

CSS (Cascading Style Sheet) enhances website aesthetics and layout, applying styles and design elements to create a visually appealing and responsive user interface. (style.css)

  /** 
Hello Future Developer Thanks for Using w3pupil.com, 
Check our website Regularly For New Snippets Post.

Share & Support us
**/
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300&family=Nunito+Sans:opsz,wght@6..12,300&display=swap');
:root{
    --color:#ddd;
}
*{
    box-sizing: border-box;
}
h1,h2,h3,h4,h5,h6{
    margin:0;
}
body{
    font-family: 'Mukta', sans-serif;
    background:url("https://cdn.pixabay.com/photo/2020/09/28/16/29/leaves-5610361_1280.png");
    background-position:center;
    background-size:cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color:var(--color);
}
.container{
    min-height:100vh;
    max-height:auto;
    display:flex;
    justify-content:center;
    align-items:center;
}
.container-card{
    width:500px;
    height:450px;
    border-radius: 30px;
    backdrop-filter:blur(10px);
    background-color:rgba(0,0,0,0.1);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border: 3px solid rgba(0,0,0,0.4);
}
.container-card-top{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    width:100%;
    height:fit-content;
    padding:15px;
}
.container-card-top h1{
    font-size:40px;
    margin-left:20px;
}
.container-card-middle{
    display:flex;
    flex-direction:row;
    width:100%;
    height:fit-content;
    padding:20px 30px 0px 30px;
}
.container-card-middle-left{
    display: flex;
    justify-content: space-between;
}
.container-card-middle-left img{
    width:170px;
    height:170px;
    border-radius: 50%;
    border:5px solid transparent;
    outline:5px dashed #6DBC9B;
    object-fit:cover;
}
.container-card-middle-right{
    display:flex;
    flex-direction:column;
    align-items:end;
    margin:0px 0px 20px 60px;
}
.container-card-middle-right ul li{
    list-style-type:none;
    font-size:18px;
    font-weight: 300;
    padding: 5px;
}
.container-card-middle-right ul li::before{
    content:"◎ ";
}
.container-card-middle-right-icon{
    display:flex;
    flex-direction:row;
}
.container-card-middle-right-icon i{
    display:flex;
    justify-content: center;
    align-items: center;
    height:30px;
    width:30px;
    font-size:20px;
    border-radius: 50%;
    margin-left: 15px;
    border:1px solid var(--color);
}
.container-card-middle-right-icon i:hover{
    cursor: pointer;
    background-color:#000;
    transition:.5s;
}
.container-card-bottom{
    display: flex;
    flex-direction:row;
    justify-content:right;
    align-items: center;
    padding:0 40px;
}
.container-card-bottom button{
    background-color:rgba(255, 255, 255, 0.6);
    color: #000000;
    padding:10px 18px;
    border: none;
    border-radius: 20px;
    width:40%;
    border:2px solid transparent;
    transition:.5s;
    margin:10px 0px;
}
.container-card-bottom button:hover{
    cursor: pointer;
    background-color: #121212;
    color:var(--color);
    border:2px solid #6DBC9B;
}
@media only screen and (max-width: 1024px){
    .container-card{
        width:500px;
        height:450px;
    }
}
@media only screen and (max-width: 630px){
    .container-card{
        width:400px;
        height:600px;
    }
    .container-card-top{
        display:flex;
        justify-content:center;
        padding:15px;
    }
    .container-card-top h1{
        margin-left:0px;
    }
    .container-card-middle{
        display:flex;
        flex-direction:column;
        justify-content: center;
        align-items: center;
        padding:0px;
    }
    .container-card-middle-left{
        display: flex;
        justify-content:center;
    }
    .container-card-middle-right{
        width:100%;
        margin:0px;
        align-items:center;
    }
    .container-card-bottom{
        display: flex;
        justify-content:center;
        align-items: center;
        width:100%;
        margin:5px;
        padding:0px;
    }
}
.credit a{
    text-decoration: none;
    color: #fff;
    font-weight: 800;
}
.credit{
    color: #fff;
    text-align: center;
    font-family: Verdana,Geneva,Tahoma,sans-serif;
}  

Note :

  • The CSS is coded in a separate file and linked to the HTML file.
  • In this snippet glass morphism is used. If you want to change the blur, you can change in the CSS file –> .container-card –> backdrop-filter: blur();

Download :

Share and Support W3pupil.com

Conclusion :

To modify the code, you can download the snippet’s source code files. To enhance your skills in HTML and CSS, you can try to recreate other creative HTML and CSS snippets available on W3pupil. In case you experience any technical related doubts, you are welcome to contact W3pupil. We’ll try to solve your request at the earliest.

Like Reaction
Like Reaction
Like Reaction
Like Reaction
Like Reaction

LivePreview :