Rendering icon fonts with a wrapper box
This commit is contained in:
@@ -24,10 +24,14 @@
|
||||
|
||||
/* SG
|
||||
# Icon font
|
||||
All available icons in CartoDB.
|
||||
|
||||
```
|
||||
<% _.each(glyphs, function(glyph) { %>
|
||||
<h4><%= glyph.fileName.split("_")[2] %></h4>
|
||||
<i class="IconFont IconFont-<%= glyph.fileName.split("_")[2] %>"></i>
|
||||
<div class="box">
|
||||
<i class="IconFont IconFont-<%= glyph.fileName.split("_")[2] %> Size-large"></i>
|
||||
<h4 class="Text Size-small"><%= glyph.fileName.split("_")[2] %></h4>
|
||||
</div>
|
||||
<% }); %>
|
||||
```
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user