Rendering icon fonts with a wrapper box

This commit is contained in:
xavijam
2016-01-18 17:51:38 +01:00
parent 3e10541168
commit b6147539b1

View File

@@ -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>
<% }); %>
```
*/