"icon animation"
Bootstrap 3.3.0 Snippet by vivekbisht109

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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 href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> <ul class="icons_wrapper clearfix"> <li class="icon"> <a href="#"> <i class="fa fa-home fa-2x"></i> </a> </li> <li class="icon"> <a href="#"> <i class="fa fa-envelope fa-2x"></i> </a> </li> <li class="icon"> <a href="#"> <i class="fa fa-gears fa-2x"></i> </a> </li> <li class="icon"> <a href="#"> <i class="fa fa-shopping-cart fa-2x"></i> </a> </li> </ul>
body {background-color:#333;} .clearfix {clear:both;} .clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } ul {width:400px; position:absolute; top:50%; left:50%; margin:-55px 0 0 -200px; } ul li {list-style:none; float:left; } /*Icon Styles*/ .icon {color:#fff; margin: 0 0 0 30px; border-radius:50px; padding:10px; background-color:rgba(255,255,255,0); transition:all .5s ease;} .icon a {width:32px; height:32px; display:block; position:relative; color:#fff;} .icon a:after {box-sizing:content-box; border-radius:50%; content:""; height:100%; width:100%; box-shadow:0 0 0 1px #fff; padding:8px; position:absolute; top:-8px; left:-8px; opacity:1; transition:all .25s ease;} .icon:hover {background-color:rgba(255,255,255,1);} .icon:hover a {color:#333;} .icon:hover a:after {padding:12px; left:-12px; top:-12px; box-shadow:0 0 0 2px #fff;} /*Visually adjust font icon sizes and positions*/ .fa-home {font-size:32px} .fa-envelope {font-size:26px; margin:2px 0 0 3px;} .fa-gears {font-size:26px; margin:3px 0 0 1px;} .fa-shopping-cart {font-size:28px; margin:2px 0 0 2px;}

Related: See More


Questions / Comments: