Group
Combines float elements to group with a clearfix.
<div class=“group”>
<div class=“float-left”>…</div>
<div class=“float-right”>…</div>
</div>
Visibility
Below is an invisible div
with class invisible. You can’t see it, because it is invisible. You can’t see invisible things.
div
because it has visible class.
<div class=“invisible”>…</div>
<div class=“visible”>…</div>
Display
This is a very useful little bit. Whenever you need to hide some text or an element on a small screen, just throw in hide-sm class. Or, if you need to specifically show something only on small screens, show-sm class is yours for the job. You can also just plain hide stuff with hide class. Can you see red words “I’m hidden” below? Exactly.
Resize your window and trust us on this ↓
<div class=“hide”>I’m hidden</div>
<div class=“hide-sm”>This text will not show up on a small screen.</div>
<div class=“show-sm”>This will only show up on a small screen</div>
One more neat feature of Kube. It helps you produce better ready-to-print pages by simply hiding irrelevant things.
<div class=“hide-print”>…</div>
<div class=“show-print”>…</div>
Video Container
Helps to serve responsive video to various devices.
<div class=“video-container”>
<iframe>…</iframe>
</div>
Close
Closing icon to close anything you want.
<span class=“close small”></span>
<span class=“close”></span>
<span class=“close big”></span>
Caret
Kube has already built-in four-direction caret.
<span class=“caret down”></span>
<span class=“caret up”></span>
<span class=“caret left”></span>
<span class=“caret right”></span>
Example of usage:
Icons
Some useful icons are already built-in to Kube.
<i class=“kube-search”></i>
<i class=“kube-menu”></i>
<i class=“kube-calendar”></i>