WK CSS uses the icon namespace .wk-icon
already, so you may experience problems when using these icons in conjunction. These issues will be resolved before the 1.0 release. You have been warned.
Using icons is easy! A home icon,
is just a <span>
with the class .wk-icon-home
.
<span class="wk-icon-home"></span>
For a complete reference of icon names, see the catalog.
Change icon colors with CSS like this:
[class^="wk-icon-"],
[class*=" wk-icon-"] {
color: #007ac3;
}
Change icon size like so:
[class^="wk-icon-"],
[class*=" wk-icon-"] {
font-size: 20px;
}
Want to make something spin? Just add the .wk-spin
class from WK CSS.
<span class="wk-icon-spinner wk-spin"></span>