The global box model isbox-sizing: border-box. The default font size is14px and the default line height is1.5.
<a href="https://www.google.com">Google</a>
<a href="https://www.baidu.com">Baidu</a>
<a href="https://www.sina.com.cn">Sina</a>
<h1>h1 This is a title</h1>
<h2>h2 This is a title</h2>
<h3>h3 This is a title</h3>
<h4>h4 This is a title</h4>
<h5>h5 This is a title</h5>
<h6>h6 This is a title</h6>
You can use class.font12~.font36to render12px~36pxfonts。
<span class="text-primary">primary</span>
<span class="text-green">green</span>
<span class="text-red">red</span>
<span class="text-teal">teal</span>
<span class="text-yellow">yellow</span>
<span class="text-purple">purple</span>
I'm truncated.
<p class="truncate">I'm truncated.</p>
<div class="bg-primary">bg-primary</div>
<div class="bg-green">bg-green</div>
<div class="bg-red">bg-red</div>
<div class="bg-teal">bg-teal</div>
<div class="bg-yellow">bg-yellow</div>
<div class="bg-purple">bg-purple</div>
Use.fland.frto display floating effect.
Use.clearfixto clear floating.
<div class="clearfix">
<div class="fl">Float left</div>
<div class="fr">Float right</div>
</div>
Zero-UI doesn't include icons itself. However, Zero-UI uses font-awesome as icon fonts.
You can change the icon's color by adding color classes.
<i class="fa fa-cloud"></i>
<i class="fa fa-bank"></i>
<i class="fa fa-check green"></i>
<i class="fa fa-close red"></i>
<i class="fa fa-cloud font18"></i>
<i class="fa fa-bank font18"></i>
<i class="fa fa-check green font18"></i>
<i class="fa fa-close red font18"></i>