Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
gridify the icons
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed May 2, 2014
1 parent 96d2064 commit 9c8ffd8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
.set {
margin-bottom: 100px;
border-bottom: 1px solid black;
display: flex;
flex-wrap: wrap;
}

.set:nth-of-type(4n-3) {
Expand All @@ -55,10 +57,12 @@
}

.container {
flex: 0 0 10em;
display: inline-flex;
flex-flow: column;
align-items: center;
padding: 20px;
font-size: 13px;
}
</style>
</head>
Expand Down Expand Up @@ -112,8 +116,8 @@
<!-- Now some icons using our iconset -->
<div id="demo">
<template repeat="{{ }}">
<h2>{{set}}</h2>
<div class="set">
<h2>{{set}}</h2>
<template repeat="{{ icon in icons }}">
<span class="container">
<svg-icon-demo icon="{{ set }}:{{ icon }}"></svg-icon-demo>
Expand Down

0 comments on commit 9c8ffd8

Please sign in to comment.