" Animated Profile Card Design in HTML & CSS "
Bootstrap 4.1.1 Snippet by harunpehlivan

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <head> <meta charset="utf-8"> <title>Animated Profile Card</title> <link rel="stylesheet" href="style.css"> <script src="https://kit.fontawesome.com/a076d05399.js"></script> </head> <body> <div class="container"> <div class="image"> <img src="https://res.cloudinary.com/tercuman-b-l-m-merkez/image/upload/v1590171081/HARUN_PEHL%C4%B0VAN_Image683_pqzejc.jpg"> </div> <div class="content"> <div class="info"> <h2> HARUN PEHLİVAN </h2> <span> INFORMATION TECHNOLOGY FOUNDER CEO</span> </div> </div> <ul> <li><a href="https://facebook.com/100008152065270"><span class="fab fa-facebook-f"></span></a></li> <li><a href="https://www.linkedin.com/in/harunpehlivanitgrouptebimtebitagem/"><span class="fab fa-linkedin"></span></a></li> <li><a href="https://www.instagram.com/harunpehlivantebimtebitagem"><span class="fab fa-instagram"></span></a></li> <li><a href="https://github.com/harunpehlivan"><span class="fab fa-github"></span></a></li> <li><a href="https://www.youtube.com/user/harunpehlivan1"><span class="fab fa-youtube"></span></a></li> </ul> </div> </body> </html>
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap'); *{ margin: 0; padding: 0; font-family: 'Poppins', sans-serif; } html,body{ display: grid; height: 100%; place-items: center; text-align: center; background: #f2f2f2; } .container{ position: relative; height: 500px; width: 400px; overflow: hidden; background: #fff; box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.3); transition: 0.3s ease-out; } .container:hover{ box-shadow: 0px 1px 35px 0px rgba(0,0,0,0.3); } .container .image{ background: #000; position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 2; transition: transform 0.3s ease-out; } .container:hover .image{ transform: translateY(-100px); } .image img{ height: 100%; width: 100%; object-fit: cover; transition: opacity 0.3s ease-out; } .container:hover .image img{ opacity: 0.7; } .container:hover .image{ transform: translateY(-100px); } .container ul{ display: flex; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; list-style: none; } ul li{ margin: 0 5px; } ul li a{ display: block; height: 50px; width: 50px; color: #000; line-height: 50px; font-size: 20px; border-radius: 50%; opacity: 0; transform: translateY(200px); background: #fff; transition: transform 0.3s ease-out, opacity 0.3s ease-out; } .container:hover > ul > li > a{ opacity: 1; transform: translateY(0); } .container:hover > ul > li:nth-child(2) a{ transition-delay: 0.1s; } .container:hover > ul > li:nth-child(3) a{ transition-delay: 0.2s; } .container:hover > ul > li:nth-child(4) a{ transition-delay: 0.3s; } .container:hover > ul > li:nth-child(5) a{ transition-delay: 0.4s; } .container .content{ position: relative; width: 100%; height: 100%; background: #fff; } .info{ position: absolute; bottom: 20px; text-align: center; width: 100%; color: #000; line-height: 26px; } .info h2{ font-size: 27px; margin: 3px 0; } .info span{ color: #1a1a1a; }

Related: See More


Questions / Comments: