ITL utility_classes

ITL utility_classes

Source: _responsiveness.scss, line 25

6 Responsiveness

@mixin container($size:optional) Wrap content into containers to make it responsive Default containers max-width: 1200px

  • .container--small: max-width: 800px
  • .container--medium: max-width: 1000px

Example

Nice container u got there

Nice small container u got there

<div class="container bg-white">
 <h2>Nice container u got there</h2>
</div>
<div class="container container--small bg-white">
 <h2>Nice small container u got there</h2>
</div>

Source: _responsiveness.scss, line 95

6.1 Visibility

@mixin show($size) -- and below @mixin hide($size) -- and below @mixin hideOnly($size) @mixin showOnly($size)

<show/hide>-<x>(-and_below)

Made with flexboxgrid compatibility

< 768px < 1024px < 1200px > 1200px
.hide-xs
.hide-xs-only
.hide-sm
.hide-md
.hide-sm-only
.hide-md-only
.hide-lg-only
.show-xs
.show-sm
.show-md
.show-xs-only
.show-sm-only
.show-md-only
.show-lg-only

Example

Small screens
Big screens
lg only
Sm only
<div class="bg-red show-sm">Small screens</div>
<div class="bg-blue hide-sm">Big screens</div>
<div class="bg-purple show-lg-only">lg only</div>
<div class="bg-white show-sm-only">Sm only</div>