Responsive Profile Cards design with HTML and CSS





























Hello Developers, Learning Robo’s profile card snippet is a dynamic and eye-catching profile card snippet that shows the information in an easy-to-understand format. This profile card snippet is exactly how it looks using HTML and CSS. In the top container of the profile card snippet, you will find your profile picture, name and email address. On the right side you will find three buttons for "Contact", "Download CV" and "Share" to get in touch with people who are interested in your profile. In the bottom container you will find space for a short description of your profile, including your interests, experience and more. The profile card snippet is fully responsive, so you can display the information on your desktop computer, laptop, tablet or smartphone. With this HTML and CSS-supported profile card snippet, you not only pass on information, but also set an example of your commitment to professionalism and modern web design. Make a statement and connect with people around the world with this innovative profile card snippet. Note: CSS is a type of markup language that is embedded in a standalone file that is linked to the HTML file.

How to make Responsive Profile Cards design with 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,project"> <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="cardin1"> <div class="cardin1-sec1"> <div class="imagesec"> <img src="https://cdn.pixabay.com/photo/2018/11/08/23/52/man-3803551_1280.jpg" alt="Profile Image"> </div> <div class="cardin1-sec1-1"> <div class="detailssec"> <h2>Jack Roban Devid</h2> <h6>jack@example.com</h6> <p>a passionate individual driven by curiosity and creativity.....</p> </div> <div class="btnsec"> <button>Contact me</button> <button>Downolad Resume</button> <button>Share</button> </div> </div> </div> </div> <div class="cardin2"> <div class="cardin2-sec1"> <h5>About me</h5> <p>Hello! I'm [Your Name], a passionate individual driven by curiosity and creativity. I find joy in exploring the world and sharing my experiences through words and art. With a background in [Your Field], I've honed my skills in [Specific Skills or Expertise] over the years.</p> <p>My journey has led me to [Notable Achievements or Experiences], where I've had the privilege of [Highlighting Key Accomplishments]. I believe in the power of continuous learning, always seeking new challenges to broaden my horizons.</p> </div> </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> <!--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://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, #c7b2f7 0%, #ffcaee 100%);  }
.card{
    display: flex;
    flex-direction:column;
    justify-content:center;
    border-radius: 10px;
    width:1024px;
    height:700px;
    background-color:#fff;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}
.cardin1{
    padding:0px;
    display: flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border-radius: 10px;
    height:350px;
    width:100%;
}
.cardin1-sec1{
    padding:10px 10px;
    display: flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    border-radius: 10px;
    height:350px;
    width:100%;
}
.cardin1-sec1 .imagesec{
    display: flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:30%;
    height:330px;
}
.cardin1 .imagesec img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin:0px;
    object-fit:cover;
    border:3px solid transparent;
    outline:4px solid #ddd;
}
.cardin1-sec1-1{
    display: flex;
    align-items:center;
    justify-content:center;
    width:70%;
    background-color:#dddddd7b;
    height:330px;
    border-radius:10px;
}
.cardin1-sec1 .detailssec{
    display: flex;
    flex-direction:column;
    align-items:start;
    justify-content:center;
    width:70%;
    height:330px;
    padding:30px;
}
.cardin1 .detailssec h2{
    margin:5px 0px;
    font-family: 'Play', sans-serif;
    font-size: 35px;
}
.cardin1 .detailssec h6{
    margin:0px 0px 20px 0px;
    font-size:12px;
}
.cardin1 .detailssec p{
    margin:0px 0px 20px 0px;
    font-size:16px;
}
.cardin1-sec1 .btnsec{
    display: flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:30%;
    height:330px;
    row-gap:10px;
}
.cardin1-sec1 .btnsec button{ 
    width:90%;
    border:none;
    border-radius:30px;
    padding:15px 20px;
    background-color: #fff;
    font-size:16px; 
}
.cardin1-sec1 .btnsec button:hover{ 
    cursor: pointer;
    background-image: linear-gradient(120deg, #c7b2f7 0%, #ffcaee 100%);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px; 
}
.cardin2{
    display: flex;
    flex-direction:column;
    align-items:center;
    text-align:left;
    justify-content:end;
    height:350px;
    background-color: #e6e6e6;
    border-radius: 0px 0px 10px 10px;
}
.cardin2-sec1{
    margin:0px 30px;
    padding:10px 30px;
    display: flex;
    flex-direction:column;
    align-items:start;
    text-align:left;
    justify-content:center;
    border-radius: 10px 10px 0px 0px;
    height:300px;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.15) 0px -7px 15px;
}
.cardin2 p{
    font-size: 16px;
} 
.cardin2 h5{
    font-size: 30px;
    margin:10px 0px;
    font-family: 'Play', sans-serif;
}
@media only screen and (max-width: 1024px){
    .card{
        width:95%;
    }
    .cardin1-sec1-1{
        flex-direction: column;
    }
    .cardin1-sec1 .imagesec img{
        width:96%;
        height:100%;
        border-radius:5px;
        outline:none;
        border:none;
    }
    .cardin1-sec1 .detailssec{
        width:100%;
        padding-bottom:20px;
        align-items:start;
        height:165px;
    }
    .cardin1-sec1 .btnsec{
        width:100%;
        padding:0px 0px 20px 20px;
        align-items:start;
        height:165px;
    }
    .cardin1-sec1 .btnsec button{
        width:50%;
    }
}
@media only screen and (max-width: 630px){
    .section1{
        height: fit-content;
        padding:10px 0px;
    }
    .card{
        width:96%;
        height:fit-content;
    }
    .cardin1{
        height:50%;
        width:100%;
    }
    .cardin2{
        height:50%;
        width:100%;
    }
    .cardin1-sec1{
        flex-direction: column;
        height:100%;
        width:100%;
    }
    .cardin1-sec1 .imagesec{
        height:30%;
        width:100%;
        align-items: start;
        justify-content: start;
    } 
    .cardin1-sec1-1{
        flex-direction: column;
        height:70%;
        width:100%;
    }
    .cardin1-sec1 .imagesec img{
        width:90px;
        height:90px;
        border-radius:5px;
        outline:none;
        border:none;
    }
    .cardin1-sec1 .detailssec{
        width:100%;
        align-items:start;
        justify-content: start;
        height:50%;
        row-gap:2px;
    }
    .cardin1-sec1 .btnsec{
        width:100%;
        padding:0px 0px 0px 10px;
        row-gap:2px;
        align-items:start;
        justify-content:center;
    }
    .cardin1-sec1 .btnsec button{
        width:60%;
        padding:10px;
    }
    .cardin1 .detailssec h2{
        margin:0px;
        font-family: 'Play', sans-serif;
        font-size:15px;
    }
    .cardin1 .detailssec h6{
        margin:0px;
        font-size:12px;
    }
    .cardin1 .detailssec p{
        margin:0px;
        font-size:12px;
    }
    .cardin2{
        height:50%;
    }
    .cardin2 p{
        font-size: 12px;
    }
    .cardin2 h5{
        font-size: 20px;
        margin:5px 0px;
        font-family: 'Play', sans-serif;
    }
    .cardin2-sec1{
        margin:3px 5px;
        height:90%;
    }
}
.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 Responsive Profile Cards design with HTML and CSS.

Thank you for reading our blog. If you face any problem in Creating a Responsive Profile Cards design with 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

إرسال تعليق

Thank you
Learning robo team

Post a Comment (0)

أحدث أقدم
Learning Robo says...
code copied
Welcome