Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Glyphicon Animate, Rotation and Flip"
Bootstrap 3.2.0 Snippet by
Siraj
3.2.0
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
1.9K
 
0 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.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="container"> <div class="row"> <h3>Animate gluphicon :</h3> <button class="btn btn-default"><i class="glyphicon glyphicon-repeat gly-spin"></i></button> <button class="btn btn-default"><i class="glyphicon glyphicon-cog gly-spin"></i></button> <button class="btn btn-default"><i class="glyphicon glyphicon-th-large gly-spin"></i></button> <button class="btn btn-default"><i class="glyphicon glyphicon-refresh gly-spin"></i></button> <h3>Rotate gluphicon :</h3> <button class="btn btn-default"><i class="glyphicon glyphicon-leaf"></i> normal</button> <button class="btn btn-default"><i class="glyphicon glyphicon-leaf gly-rotate-90"></i> gly-rotate-90</button> <button class="btn btn-default"><i class="glyphicon glyphicon-leaf gly-rotate-180"></i> gly-rotate-180</button> <button class="btn btn-default"><i class="glyphicon glyphicon-leaf gly-rotate-270"></i> gly-rotate-270</button> <h3>Flip gluphicon :</h3> <button class="btn btn-default"><i class="glyphicon glyphicon-leaf gly-flip-horizontal"></i> gly-flip-horizontal</button> <button class="btn btn-default"><i class="glyphicon glyphicon-leaf gly-flip-vertical"></i> gly-flip-vertical</button> </div> </div>
.gly-spin { -webkit-animation: spin 2s infinite linear; -moz-animation: spin 2s infinite linear; -o-animation: spin 2s infinite linear; animation: spin 2s infinite linear; } @-moz-keyframes spin { 0% { -moz-transform: rotate(0deg); } 100% { -moz-transform: rotate(359deg); } } @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); } } @-o-keyframes spin { 0% { -o-transform: rotate(0deg); } 100% { -o-transform: rotate(359deg); } } @keyframes spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } } .gly-rotate-90 { filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); -webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg); } .gly-rotate-180 { filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg); } .gly-rotate-270 { filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); -webkit-transform: rotate(270deg); -moz-transform: rotate(270deg); -ms-transform: rotate(270deg); -o-transform: rotate(270deg); transform: rotate(270deg); } .gly-flip-horizontal { filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); -webkit-transform: scale(-1, 1); -moz-transform: scale(-1, 1); -ms-transform: scale(-1, 1); -o-transform: scale(-1, 1); transform: scale(-1, 1); } .gly-flip-vertical { filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); -webkit-transform: scale(1, -1); -moz-transform: scale(1, -1); -ms-transform: scale(1, -1); -o-transform: scale(1, -1); transform: scale(1, -1); }
Related:
See More
Free Template
Gaia Bootstrap Template
149.0K
93
Glyphicon Animate, Rotation and Flip
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76