ITL utility_classes

ITL utility_classes

Source: _colors.scss, line 3

2.2 Background-colors

@mixin bgColor($color) To change the background-colors of elements use these classes

  • .bg-<color>: changes the background color
  • <ANY>--faded: lowers the opacity of the color

Example

Red div
White div
Blue div
Blue faded div
<div class="bg-grad-red p16">Red div</div>
<div class="bg-white p16">White div</div>
<div class="bg-blue p16">Blue div</div>
<div class="bg-blue--faded p16">Blue faded div</div>