Table of Contents

Simple Personal Profile card

Share Now :

Title : Simple Personal Profile card css | 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.

A strong initial impression is created by the profile card snippet, which prominently displays the user’s name, designation and profile picture. Subsequently, social media information is displayed further down the card. At the bottom of the card is a contact button, which allows the user to connect with interested users. The profile card is fully responsive, allowing the information to be displayed on a wide range of devices, such as desktop, laptop, tablet and smartphone.

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="flex-container">
    <div class="top-container">
        <img src="https://images.pexels.com/photos/4195342/pexels-photo-4195342.jpeg?auto=compress&cs=tinysrgb&w=1600">
    </div>
    <div class="bottom-container">
        <h1>John Carley</h1>
        <h3>Civil Engineer</h3>
        <div class="bottom-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>
        <button>Contact Me</button>
        <div class="credit">Made with <span>❤ </span>by <a href="https://www.w3pupil.com/">W3pupil</a></div>
    </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{
    --bg:#ffffff;
}
body{
    font-family: 'Mukta', sans-serif;
    background:linear-gradient(to bottom,#ffffffd2, #6e899e);
}
.container{
    min-height:100vh;
    max-height: auto;
    display:flex;
    justify-content:center;
    flex-direction: column;
    align-items:center;
}
.flex-container{
    display:flex;
    flex-direction:column;
    align-items:center; 
    width:300px;
    height:530px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.top-container{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    width:calc(100% - 10px);
    height:225px;
    background-image: url("https://cdn.pixabay.com/photo/2017/02/02/22/08/tunnel-2033983_1280.jpg");
    background-size:cover;
    background-repeat:no-repeat;
    background-position: center center;
    border:5px solid #ffffff;
    border-radius:5px;
}  
.top-container img{
    height:110px;
    width:110px;
    border-radius: 50%;
    border:5px solid #f3f9ff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    margin:220px 0px 0px 0px;
    z-index: 1;
    object-fit:cover;
}
.bottom-container{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background-color:var(--bg);
    width:100%;
    height:calc(480px - 225px);
}
.bottom-container-icon i{
    font-size:20px;
    border-radius: 50%;
    padding:10px;
    margin:10px 2px 0 2px;
    text-align: center;
    transition:.5s;
}
.bottom-container-icon i:hover{
    cursor: pointer;
    background-color: #6e899e;
}
.bottom-container button{
    margin:10px;
    padding:10px;
    width:80%;
    border-radius:30px;
    border: 3px solid #6e899e;
    color:#111010;
    background:var(--bg);
    font-size:20px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    transition:.5s;
    font-weight: 900;
}
.bottom-container button:hover{
    cursor: pointer;
    background-color:#6e899e;
    border: 3px solid #151413c7;  
}
.bottom-container h1{
    margin:80px 0px 0px 0px;
}
.bottom-container h3{
    margin:0px;
}
@media only screen and (max-width: 1024px){
    .flex-container{
        width:300px;
        height:530px;
    }
}
@media only screen and (max-width: 630px){
    .flex-container{
        width:300px;
        height:530px;
    }
}
.credit a{
    text-decoration: none;
    color: #121212;
    font-weight: 800;
}
.credit{
    color: #121212;
    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.

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 :