"box button"
Bootstrap 3.0.0 Snippet by evarevirus

<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 ----------> <div class="buttons"> <div class="button "> <span><i class="fa fa-shopping-cart"></i></span> <h5>Shopping</h5> <p>We have a wide varity of products ranging from a pin to Jumbo Jet.</p> </div> <div class="button "> <span><i class="fa fa-gift"></i></span> <h5>Gifts</h5> <p><a href="#">Buy stuff</a> and recieve awesome gifts and cashbacks. </p> </div> <div class="button active"> <span><i class="fa fa-group"></i></span> <h5>Our Team</h5> <p>Our team has millions of member, every member of this website is a team member helping in making this website a success. <a href="thecodeblock.com">join us</a>.</p> </div> <div class="button "> <span><i class="fa fa-inr"></i></span> <h5>Revenue</h5> <p>You can get a share of our revenur by helping us out with yada yada yada.</p> </div> <div class="button "> <span><i class="fa fa-heart"></i></span> <h5>Sharing</h5> <p>We would love to share our service with you, you can contact us on <a href="thecodeblock.com">facebook</a> or <a href="thecodeblock.com">twitter</a>.</p> </div> </div> <script> function hoverTiles(){ var tiles = $('.button'); tiles.hover(function(){ tiles.removeClass('active'); $(this).addClass('active'); }) } $(document).ready(function() { hoverTiles(); }) </script>
body { background: #f8fcff; } .button:nth-child(1) span i { color: #00838e; } .button:nth-child(2) span i { color: #ff6c00; } .button:nth-child(3) span i { color: #00a7ff; } .button:nth-child(4) span i { color: #00652b; } .button:nth-child(5) span i { color: #d80000; } .buttons { margin-top: 50px; text-align: center; } .buttons .button { display: inline-block; overflow: hidden; width: 150px; height: 150px; background: #fff; border: 1px solid #efefef; border-radius: 1px; margin: 5px; vertical-align: top; -webkit-transition: 0.25s all ease-in-out; -moz-transition: 0.25s all ease-in-out; -ms-transition: 0.25s all ease-in-out; -o-transition: 0.25s all ease-in-out; transition: 0.25s all ease-in-out; } .buttons .button span { margin-top: 20px; display: block; font-size: 54px; padding-top: 20px; -webkit-transition: 0.25s all ease-in-out; -moz-transition: 0.25s all ease-in-out; -ms-transition: 0.25s all ease-in-out; -o-transition: 0.25s all ease-in-out; transition: 0.25s all ease-in-out; } .buttons .button h5 { margin-top: 0; font-weight: 600; color: grey; -webkit-transition: 0.25s all ease-in-out; -moz-transition: 0.25s all ease-in-out; -ms-transition: 0.25s all ease-in-out; -o-transition: 0.25s all ease-in-out; transition: 0.25s all ease-in-out; } .buttons .button p { font-size: 14px; opacity: 0; padding: 15px; color: grey; } .buttons .button p a { color: #1489ff; text-decoration: none; } .buttons .active { width: 300px; height: 300px; } .buttons .active span { -webkit-transition: 0.25s all ease-in-out; -moz-transition: 0.25s all ease-in-out; -ms-transition: 0.25s all ease-in-out; -o-transition: 0.25s all ease-in-out; transition: 0.25s all ease-in-out; font-size: 81px; } .buttons .active p { opacity: 1; -webkit-transition: 0.25s all ease-in-out; -moz-transition: 0.25s all ease-in-out; -ms-transition: 0.25s all ease-in-out; -o-transition: 0.25s all ease-in-out; transition: 0.25s all ease-in-out; -webkit-transition-delay: 0.25s; -moz-transition-delay: 0.25s; -ms-transition-delay: 0.25s; -o-transition-delay: 0.25s; transition-delay: 0.25s; } .buttons .active h5 { margin-top: 15px; }

Related: See More


Questions / Comments: