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
"Overlapping Glyphicons Example"
Bootstrap 3.0.0 Snippet by
mwood073
3.0.0
icons
Preview
HTML
View Full Screen
Fork
Fork this
2.0K
 
0 Fav
Post to Facebook
Tweet this
<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 ----------> <style> [class^="ico-"], [class*=" ico-"] { font-family: 'Glyphicons Halflings'; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; /* Better Font Rendering */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .ico-nulticolor:before { color:red; content: "\e042"; } .ico-nulticolor{ padding-top:1px; font-size:45px;height:47px;width:56px; color:#3FA9F5; letter-spacing: -48px; } </style> <div class="container"> <h1 class="page-header">multicolor icons</h1> <p>Font icon doesn't have multicolors option. Idea is to use layered icons which are overlap to each others.</p> <h4>icon by class name</h4> <span class="glyphicon glyphicon-tag"></span> + <span class="glyphicon glyphicon-tags"></span> = <span class='ico-nulticolor'></span> </div> <style> h4{ margin-top:50px; } .glyphicon { font-size: 45px; } </style>
Related:
See More
Template
Now UI Kit PRO Angular
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76