<!--Important link source from "https://codepen.io/chrisdothtml/pen/azPYqq/"-->
<div class="social-btns"><a class="btn facebook" href="#"><i class="fa fa-facebook"></i></a><a class="btn twitter" href="#"><i class="fa fa-twitter"></i></a><a class="btn google" href="#"><i class="fa fa-google"></i></a><a class="btn dribbble" href="#"><i class="fa fa-dribbble"></i></a><a class="btn skype" href="#"><i class="fa fa-skype"></i></a>
</div>
@import url(//fonts.googleapis.com/css?family=Open+Sans:400,300,600,700);
* {
margin: 0;
padding: 0;
font-size: inherit;
color: inherit;
box-sizing: inherit;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-font-smoothing: antialiased;
}
*:focus {
outline: none;
}
html,
body {
height: 100%;
}
html {
box-sizing: border-box;
}
body {
background-color: #ecf0f1;
min-width: 300px;
font-family: 'Open Sans', sans-serif;
font-size: 16px;
}
h1, h2, h3, h4, h5 {
display: block;
font-weight: 400;
}
li, span, p, a, h1, h2, h3, h4, h5 {
line-height: 1;
}
p {
display: block;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
img {
display: block;
max-width: 100%;
height: auto;
border: 0;
}
button {
background-color: transparent;
border: 0;
cursor: pointer;
}
.social-btns .btn,
.social-btns .btn:before,
.social-btns .btn .fa {
transition: all 0.35s;
transition-timing-function: cubic-bezier(0.31, -0.105, 0.43, 1.59);
}
.social-btns .btn:before {
top: 90%;
left: -110%;
}
.social-btns .btn .fa {
transform: scale(0.8);
}
.social-btns .btn.facebook:before {
background-color: #3b5998;
}
.social-btns .btn.facebook .fa {
color: #3b5998;
}
.social-btns .btn.twitter:before {
background-color: #3cf;
}
.social-btns .btn.twitter .fa {
color: #3cf;
}
.social-btns .btn.google:before {
background-color: #dc4a38;
}
.social-btns .btn.google .fa {
color: #dc4a38;
}
.social-btns .btn.dribbble:before {
background-color: #f26798;
}
.social-btns .btn.dribbble .fa {
color: #f26798;
}
.social-btns .btn.skype:before {
background-color: #00aff0;
}
.social-btns .btn.skype .fa {
color: #00aff0;
}
.social-btns .btn:focus:before,
.social-btns .btn:hover:before {
top: -10%;
left: -10%;
}
.social-btns .btn:focus .fa,
.social-btns .btn:hover .fa {
color: #fff;
transform: scale(1);
}
.social-btns {
height: 90px;
margin: auto;
font-size: 0;
text-align: center;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.social-btns .btn {
display: inline-block;
background-color: #fff;
width: 90px;
height: 90px;
line-height: 90px;
margin: 0 10px;
text-align: center;
position: relative;
overflow: hidden;
border-radius: 28%;
box-shadow: 0 5px 15px -5px rgba(0,0,0,0.1);
opacity: 0.99;
}
.social-btns .btn:before {
content: '';
width: 120%;
height: 120%;
position: absolute;
transform: rotate(45deg);
}
.social-btns .btn .fa {
font-size: 38px;
vertical-align: middle;
}
This Pen doesn't use any external JavaScript resources.