<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<div class="social-buttons"><a href="#" class="social-button facebook"><i class="fa fa-facebook"></i></a><a href="#" class="social-button twitter"><i class="fa fa-twitter"></i></a><a href="#" class="social-button google"><i class="fa fa-google"></i></a><a href="#" class="social-button dribbble"><i class="fa fa-dribbble"></i></a>
</div>
body {
background-color: #F4F4F4;
}
html {
box-sizing: border-box;
}
.social-buttons {
height: 50px;
font-size: 10;
text-align: center;
position: absolute;
right: 0;
left: 0;
top: 40%;
bottom: 50%;
}
.social-button {
display: inline-block;
background-color: #fff;
width: 50px;
height: 50px;
line-height: 50px;
margin-left: 0 !important;
margin-right: 15px !important;
text-align: center;
position: relative;
overflow: hidden;
opacity: .99;
border-radius: 50%;
box-shadow: 0 0 30px 0 rgba(0,0,0,0.06);
transition: all .35s cubic-bezier(0.31,-0.105,0.43,1.59);
transition: all .35s cubic-bezier(0.31,-0.105,0.43,1.59);
}
.social-button:before {
content: '';
background-color: #000;
width: 120%;
height: 120%;
position: absolute;
top: 90%;
left: -110%;
transform: rotate(45deg);
transform: rotate(45deg);
transform: rotate(45deg);
transition: all .35s cubic-bezier(0.31,-0.105,0.43,1.79);
transition: all .35s cubic-bezier(0.31,-0.105,0.43,1.79);
}
.social-button .fa {
font-size: 28px;
vertical-align: middle;
transform: scale(0.75);
transform: scale(0.75);
transform: scale(0.75);
transition: all .35s cubic-bezier(0.31,-0.105,0.43,1.59);
transition: all .35s cubic-bezier(0.31,-0.105,0.43,1.59);
}
.social-button.facebook:before {
background-color: #3B5998;
}
.social-button.facebook .fa {
color: #3B5998;
}
.social-button.twitter:before {
background-color: #3CF;
}
.social-button.twitter .fa {
color: #3CF;
}
.social-button.google:before {
background-color: #DC4A38;
}
.social-button.google .fa {
color: #DC4A38;
}
.social-button.dribbble:before {
background-color: #F26798;
}
.social-button.dribbble .fa {
color: #F26798;
}
.social-button.skype:before {
background-color: #00AFF0;
}
.social-button.skype .fa {
color: #00AFF0;
}
.social-button:hover:before {
top: -10%;
left: -10%;
}
.social-button:hover .fa {
color: #fff;
transform: scale(1);
transform: scale(1);
transform: scale(1);
}
.social-button:focus {
opacity: .85;
}
* {
margin: 0;
padding: 0;
color: inherit;
box-sizing: inherit;
}
:focus {
outline: none;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.