"Animate Rotate button"
Bootstrap 3.3.0 Snippet by chapacua

<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"> <div class="container"> <div class="row"> <div class="col-md-offset-5 col-md-2"> <div class="icon iconx3 text-center"> <i class="fa fa-plus-circle"></i> </div> </div> </div> </div>
.icon{ font-size:32px; -webkit-transition: transform 1s; /* Safari */ transition: transform 1s; } .icon:hover{ color: #2b6fce; /* Rotate*/ -ms-transform: rotate(360deg); /* IE 9 */ -webkit-transform: rotate(360deg); /* Chrome, Safari, Opera */ transform: rotate(360deg); }

Related: See More


Questions / Comments: