<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<div class="wrapper">
<i class="fa fa-5x fa-facebook-square"></i>
<i class="fa fa-5x fa-twitter-square"></i>
<i class="fa fa-5x fa-instagram"></i>
<i class="fa fa-5x fa-snapchat-square"></i>
</div>
body {
text-align: center;
box-sizing: border-box;
margin: 0;
padding: 0;
}
.wrapper {
display: inline-flex;
margin: 0;
padding: 0;
align-items: center;
justify-content: center;
height: 100vh;
}
i {
padding: 0px 10px;
}
.wrapper i:nth-child(1) {
color: #4867AA;
cursor: pointer;
text-shadow: 0px 7px 10px rgba(0, 0, 0, 0.4);
transition: all ease-in-out 150ms;
}
.wrapper i:nth-child(1):hover {
margin-top: -10px;
text-shadow: 0px 16px 10px rgba(0, 0, 0, 0.3);
transform: translate(0, -8);
}
.wrapper i:nth-child(2) {
color: #1DA1F2;
cursor: pointer;
text-shadow: 0px 7px 10px rgba(0, 0, 0, 0.4);
transition: all ease-in-out 150ms;
}
.wrapper i:nth-child(2):hover {
margin-top: -10px;
text-shadow: 0px 16px 10px rgba(0, 0, 0, 0.3);
transform: translate(0, -8);
}
.wrapper i:nth-child(3) {
color: #813DB4;
cursor: pointer;
text-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5);
transition: all ease-in-out 150ms;
}
.wrapper i:nth-child(3):hover {
margin-top: -10px;
text-shadow: 0px 14px 10px rgba(0, 0, 0, 0.4);
transform: translate(0, -5);
}
.wrapper i:nth-child(4) {
color: #fffc00;
cursor: pointer;
text-shadow: 0px 7px 10px rgba(0, 0, 0, 0.4);
transition: all ease-in-out 150ms;
}
.wrapper i:nth-child(4):hover {
margin-top: -10px;
text-shadow: 0px 16px 10px rgba(0, 0, 0, 0.3);
transform: translate(0, -8);
}