Animated Profile Card UI Design using HTML and CSS

























Hello Developers, Learning Robo provides a dynamic and eye-catching profile card snippet to display your details at a glance. This profile card snippet was precisely created using HTML and CSS. The profile card snippet displays your name, title and profile picture at the top of the card, creating a strong first impression. There is then space for a short description of yourself so that users can easily find out more about you. Further down the card, social media information is displayed, and at the bottom is a contact button that allows users to get in touch with people who are interested in their profile. Finally, the profile card is fully responsive, allowing users to view the information on a variety of devices, including desktops, laptops, tablets and smartphones. By using this profile card snippet in HTML and CSS format, you’re not only sharing your information, but you’re also demonstrating your dedication to professionalism and contemporary web design. Impress the world with this creative and informative profile card and make a connection. Note: CSS is a piece of code that is stored in a separate file that is connected to the HTML file.

How to make Animated Profile Card UI Design using 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"> <img src="https://cdn.pixabay.com/photo/2023/08/14/06/17/ai-generated-8189048_1280.jpg"> <h2>Jacklin Rose</h2> <h6>Web Developer</h6> </div> <div class="cardin2"> <h2>About Me</h2> <p>Passionate about technology and innovation, I thrive on solving complex problems and turning ideas into reality.</p> <h5>Social Media</h5> <div class="socialmedia"> <i class="fa fa-facebook"></i> <i class="fa fa-instagram"></i> <i class="fa fa-linkedin"></i> <i class="fa fa-twitter"></i> </div> <button>Contact me</button> </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 right, #ff8177 0%, #ff867a 0%, #ff8c7f 21%, #f99185 52%, #cf556c 78%, #b12a5b 100%);
}
.card{
    display: flex;
    flex-direction:column;
    justify-content:space-between;
    border-radius: 15px;
    width:400px;
    height:150px;
    background-color:#fff;
    padding:20px;
    transition: width 1s ease-in-out, height 1s ease-in-out;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
.cardin1{
    padding:10px 0;
    display: flex;
    flex-direction:column;
    align-items: center;
    width:360px;
    height:150px;
}
.cardin1 img{
    margin:-60px 0px 0px 0px;
    height:110px;
    width:120px;
    border-radius:20px;
    object-fit: cover;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}
.cardin1 h2{
    margin:10px 0px 0px 0px;
    font-family: 'Play', sans-serif;
    font-size: 25px;
    font-weight: 300;
}
.cardin1 h6{
    margin:2px 0px;
    font-family: 'Play', sans-serif;
    font-size: 12px;
    font-weight: 300;
}
.cardin2{
    display: flex;
    flex-direction:column;
    align-items:start;
    justify-content: center;
    padding:10px 0px; 
    flex-shrink: 0;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 1s ease-in-out, height 1s ease-in-out;
}
.card:hover{
    height:450px;
}
.card:hover .cardin2{
    height:calc(450px - 150px);
    opacity: 1;
}
.cardin2 h2{
    margin:2px 0px;
    font-family: 'Play', sans-serif;
    font-size: 20px;
    font-weight: 300;
}
.cardin2 h5{
    margin:2px 0px;
    font-family: 'Play', sans-serif;
    font-size:20px;
    font-weight: 300;
}
.cardin2 .socialmedia i{
    background: #ddd;
    padding:10px;
    border-radius:50%;
    font-size:20px;
    margin:10px 5px;
    transition:.5s;
    width:40px;
    height:40px;
    text-align: center;
}
.cardin2 .socialmedia i:hover{
    background: #121212;
    color:#ddd;
    cursor: pointer;
}
.cardin2 button{
    border: none;
    border-radius:10px;
    padding:15px 25px;
    margin:20px 0px 0px 0px;
    font-size:20px;
    width:100%;
    background-color: #b12a5b;
    color:#fff;
    transition:.5s;
    cursor: pointer;
}
.cardin2 button:hover{
    background-color: #cf556c;
}
@media only screen and (max-width: 1024px){
    .card{
        height:600px;
    }
    .cardin2{
        height:calc(600px - 350px);
        opacity:1;
    }
    .cardin1{
        width:100%;
    }
}
@media only screen and (max-width: 630px){
    .card{
        width:98%;
        height:600px;
    }
    .cardin2{
        height:calc(600px - 350px);
        opacity:1;
    }
    .cardin1{
        width:100%;
    }
}
.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;
}
We hope you would like this Animated Profile Card UI Design using HTML and CSS.

Thank you for reading our blog. If you face any problem in Creating a Animated Profile Card UI Design using 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