"Social Icons Using CSS - w3hubs.com"
Bootstrap 4.1.1 Snippet by w3hubs

<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 ----------> <script src="https://kit.fontawesome.com/a076d05399.js"></script> <div class="social-icons"> <i class='fab fa-facebook-square'></i> <i class='fab fa-twitter'></i> <i class='fab fa-instagram'></i> <i class='fab fa-linkedin'></i> <i class='fab fa-pinterest-square'></i> </div>
body{ margin: 0; padding: 0; } .social-icons{ display: flex; justify-content: center; align-items: center; height: 100vh; } .fab{ font-size: 80px; cursor: pointer; text-shadow: 0px 7px 10px rgba(0, 0, 0, 0.4); padding-right: 15px; transition: .4s; } .fab:hover{ transform: scale(1.3); transition: .6s; } .fa-facebook-square{ color: #4867AA; } .fa-twitter{ color: #1DA1F2; } .fa-instagram{ color: #e4405f; } .fa-linkedin{ color: #0e76a8; } .fa-pinterest-square{ color: #bd081c; } @media(max-width: 500px){ .social-icons{ flex-direction: column; } .fab{ padding: 15px; } }

Related: See More


Questions / Comments:

Great!

zadinovaaa () - 4 years ago - Reply 0