Table of Contents

Personal profile card

Share Now :

Title : Personal profile card Html css | W3pupil

Description

Hello W3PUPIL!!! We offer you a dynamic and visually appealing Personal profile card that presents your information at a glance. This Personal profile card snippet was created with precision using HTML and CSS.
Personal profile card in HTML & CSS is one of the best ways to display information in a neat & tidy way. We are happy to share with you our personal profile card beautifully designed in HTML & CSS. At the top of the profile card, you can add user’s name, designation, place of residence, and profile picture. This makes a great impression. You can add two buttons in the profile card – message and follow – for the people who are interested to connect with you. Now you can add skills. The card is fully responsive so that the information can be displayed on a variety of devices, including desktops, laptops, tablets and smartphones.
So by using this HTML and CSS profile card, you’re not just sharing information – you’re demonstrating your dedication to professionalism and contemporary web design. Overall, show off and interact with the world with this innovative and creative Personal profile card snippet.

Let's know how to create a file..

Creating and managing files and folders efficiently is critical for smooth development. Below is a step-by-step guide.

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

  • After successfully completing the download and installation, open Visual Studio Code.
  • Create a new folder on your desktop.
  • Go to the file and then open the folder you created.
  • Then add a file for HTML with the extension “.html” or “.htm”.
  • Also add another file for CSS with the extension “.css”.
  • Now you have an empty HTML file and a CSS file ready for your code.

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

  • After you download the snippet file from W3pupil, you will get a zip file.
  • After unzipping, you can open the file in Visual Studio Code.
  • Now you have the HTML file and the CSS file to work with.
  • Take your time to fully understand the functionality of the code before making the changes you want in the Personal profile card snippet.

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="sec1">
<div class="container">
    <div class="profile-card">
        <div class="d1">
            <div class="pic">
                <img src="https://cdn.pixabay.com/photo/2017/11/10/05/48/user-2935527_1280.png" alt="Profile Picture">
            </div>
        </div>
        <div class="info">
            <h2>Chris Hemsworth</h2>
            <p>Web Developer and Programmer</p>
            <div class="location">
                
                <span>INDIA</span>
            </div> <br>
            <div class="buttons">
                <button>Message</button>
                <button>Follow</button>
            </div>
        </div>
        <div class="skills">
            <div class="skills-title">Skills</div>
            <ul>
                <li>Html</li>
                <li>Css</li>
                <li>Javascript</li>
                <li>PHP</li>
                <li>React JS</li>
                <li>Dart</li>
            </ul>
        </div>
    </div>
</div>  
<div class="credit">Made with <span>❤ </span>by <a href="https://www.w3pupil.com/">W3pupil</a></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
**/
*{
    box-sizing: border-box;
}
body{
    margin: 0;
    color: #ffffff; 
    font-family:sans-serif;
}
.sec1{
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content: center; 
    width:100%;
    height:100vh;
    background-image: linear-gradient(to top, #505285 0%, #585e92 12%, #65689f 25%, #7474b0 37%, #7e7ebb 50%, #8389c7 62%, #9795d4 75%, #a2a1dc 87%, #b5aee4 100%);
}
.container{
    display: flex;
    flex-direction: column;
    align-items:center;
    background: linear-gradient(to bottom, #363636, #121212); 
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    width: 400px;
    height: 580px;
}
.profile-card{
    display: flex;
    flex-direction: column;
    height: fit-content;
}
.d1{
    width: 400px;
    height: 250px;
    background: linear-gradient(to bottom, #272727, #0e0e0e); 
    border-radius: 10px 10px 0px 0px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.pic img{
    border-radius: 50%;
    width: 190px;
    height: 190px;
    display: flex;
    object-fit: cover;
}
.info{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: #ffffff; 
    text-align: center;
}
h2{
    font-size: 24px;
    color: #dddddd; 
    margin: 0;
}
p{
    color: #565656; 
    margin: 10px 0;
}
.location{
    display: flex;
    align-items: center;
    color: #dddddd; 
}
.location ion-icon{
    margin-right: 5px;
}
.buttons{
    display: flex;
    margin-top: 10px;
}
button{
    border: none;
    border-radius: 10px;
    height: 30px;
    width: 90px;
    margin-right: 10px;
    text-align: center;
    line-height: 30px;
    color: #dddddd; 
    background-color: #333; 
    cursor: pointer;
}
button:hover{
    color: white;
    background-color: coral;
}
.skills-title{
    text-align: left;
    margin:  0 47px; 
    color: #dddddd; 
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}
.skills ul{
    display: flex;
    flex-wrap: wrap;
    list-style: none; 
}
.skills li{
    background-color: #666666; 
    color: #ffffff; 
    padding: 5px 10px;
    margin: 5px;
    border-radius: 5px;
}
@media screen and (max-width: 630px){
    .d1{
        width:100%;
    }
    .container{
        width: 98%;
        height: fit-content;
    }
}
.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;
}
.credit span{
    color:tomato;
    font-size:20px;
}       

Note :

  • We have coded CSS in a separate file and linked to the HTML file for creating Personal profile card snippet.

Download :

Share and Support W3pupil.com

Conclusion :

To change the code, you can download the source code files of the snippet. To improve your HTML and CSS skills, you can try rebuilding other creative HTML and CSS snippets available on W3pupil. If you have any technical questions, feel free to contact W3pupil. As soon as possible, we will do our best to resolve your request.

Like Reaction
Like Reaction
Like Reaction
Like Reaction
Like Reaction

LivePreview :