"social icon hover effect"
Bootstrap 3.0.0 Snippet by ravindra93

<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 ----------> <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" > </head> <body> <div class="icon"> <i class="fa fa-facebook"></i> </div> </body> </html>
.icon{ width:100px; height:100px; margin:2em auto; border:1px solid #dedede; text-align:center; display:block; background:linear-gradient(#1a58c1,#2769da); color:#fff; font-size:32px; transition:all 0.5s ease-in-out; -webkit-transition:all 0.5s ease-in-out; cursor:pointer; border-radius:5px; } .icon i{line-height:100px;} .icon:hover{transform:translate(0, -10px);-webkit-transform:translate(0, -10px);box-shadow:3px 10px 3px #ccc;} .icon:active{box-shadow:3px 10px 3px #1a58c1;}

Related: See More


Questions / Comments: