Table of Contents

Social Profile Card with Css

Share Now :

Title : Social Profile Card with 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.

In this profile card snippet your name and designation appear at the top, making a great first impression. Below that social media information can be provided. This profile card is also fully responsive, making it easy to view on different devices. Whether you’re looking at your profile on your desktop, laptop screen, tablet screen, or smartphone screen, your information will always be displayed in a well-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="section1">
<div class="card">
    <div class="cardin1">
        <img src="https://cdn.pixabay.com/photo/2017/11/10/05/48/user-2935527_1280.png" alt="Profile Image">
    </div>
    <div class="cardin2">
        <h2>Jack Horn stanly</h2>
        <h6>Web developer</h6>
        <div class="info">
            <div>
                <h5>60</h5>
                <p>Posts</p>
            </div>
            <div>
                <h5>34K</h5>
                <p>Folowers</p>
            </div>
            <div>
                <h5>20</h5>
                <p>Following</p>
            </div>
        </div>
    </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=Play&display=swap');
*{
    box-sizing: border-box;
}
body{
    font-family: Arial, sans-serif;
    margin:0%;
}
.section1{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    background-image: linear-gradient(to top, #c471f5 0%, #fa71cd 100%);
}
.card{
    display: flex;
    flex-direction:column;
    justify-content:space-between;
    border-radius: 10px;
    width:400px;
    height:400px;
    background-color:#fff;
    padding:20px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.cardin1{
    padding:10px 0;
    display: flex;
    flex-direction:column;
    align-items:center;
    border-radius: 10px;
    height:150px;
    background-image: linear-gradient(to top, #c471f5 0%, #fa71cd 100%);
}
.cardin1 img{
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin:80px 0px 0px 0px;
    border: 6px solid #fff;
    object-fit:contain;
}
.cardin2{
    display: flex;
    flex-direction:column;
    align-items: center;
    height:calc(400px - 150px);
    padding: 50px 0px 0px 0px; 
}
.cardin2 h2{
    margin:0px;
    font-family: 'Play', sans-serif;
    font-size: 25px;
}
.cardin2 h6{
    margin:0px;
    font-size:12px;
}
.cardin2 h5{
    margin:0px;
    font-size:18px;
    font-weight: 300;
}
.cardin2 p{
    margin:0px;
    font-size:16px;
    font-weight:100;
}
.cardin2 .info{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width:360px;
    height:60px;
    column-gap:40px;
    margin:10px 0px;
}
@media only screen and (max-width: 630px){
    .card{
        width:98%;
    }
    .cardin1{
        align-items: center;
    }
    .cardin1 p{
        text-align: justify;
    }
    .cardin2{
        justify-content: center;
    }
}
.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;
}  

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 :