Utility classes available to developers for common tasks.
.u-clearfixClear the current element so it always appears on a new line. Can also use the clearfix mixin – @include clearfix() in your CSS.
<span class="u-clearfix">Lorem</span>
<span>Ipsum</span>
.u-lightenBgAdd the lightest background colour to the element
<div style="background-color: #f5f5f5; padding: 10px">
<div class="u-lightenBg">Lorem</div>
<div>Ipsum</div>
</div>
.u-bordered,%u-borderedAdd default padding, border and border radius to the element.
Can also use the bordered mixin – @include bordered(borderRadius, padding, borderColour) in your CSS.
<div class="u-bordered">Lorem Ipsum</div>
.u-bordered--midAdd default padding, border and border radius to the element for medium(> 768px) screen size
<div class="u-bordered--mid">Lorem Ipsum</div>
.is-hidden,.no-js .is-hidden--noJS.is-shown,.no-js .is-shown--noJSHide/Show from both screenreaders and browsers
<span class="is-hidden">Lorem</span>
<span>Ipsum</span>
.is-visuallyHiddenHide only visually, but have it available for screenreaders
<span class="is-visuallyHidden">Lorem</span>
<span>Ipsum</span>
&.focusable:active,&.focusable:focusExtends the .is-visuallyhidden class to allow the element to be focusable when navigated to via the keyboard
<div class="is-visuallyHidden focusable:active">Lorem</div>
<div class="is-visuallyHidden focusable:focus">Ipsum</div>
<div>Dolor</div>
.is-invisibleHide visually and from screenreaders, but maintain layout
<div class="is-invisible">Lorem</div>
<div>Ipsum</div>
.u-pointer<div class="u-pointer">Lorem Ipsum</div>
.is-stickyFixed position for the element
.u-stickySticky position for the element with doubled default spacing at the top
.u-noWrapEnsure text inside helper never wraps
<div class="u-noWrap">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</div>
.u-uppercase<div class="u-uppercase">Lorem Ipsum</div>
.u-textPadAdd tab indentation (spacing(x4))
<div>Lorem</div>
<div class="u-textPad">Ipsum</div>
.u-text-truncateForces overly long lines of text to truncate. Can also use the truncate mixin – @include truncate(); in your CSS.
<div class="u-text-truncate">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
.u-noUnderlineAdd underline text decoration for hover, active and focus satates
<div class="u-noUnderline">Lorem Ipsum</div>
.u-text-centre.u-text-left.u-text-right<div class="u-text-centre">I am centered positioned</div>
<div class="u-text-left">I am left positioned</div>
<div class="u-text-right">I am right positioned</div>
.u-text-highlight<span class="u-text-highlight">Lorem Ipsum</span>
.u-text-indentAdd text indentation (spacing(x2))
<div>Lorem</div>
<div class="u-text-indent">Ipsum</div>
.u-noSpacingRemove all margins from the element
.u-spacingTopAdds default marging to the top (spacing())
.u-spacingTop--smallAdd half of default marging to the top (spacing(x0.5))
.u-spacingTop--largeAdd doubled default marging to the top (spacing(x2))
.u-spacingRightAdd default marging to the right (spacing())
.u-spacingBottomAdd default marging to the bottom (spacing())
.u-spacingBottom--largeAdd doubled default marging to the bottom (spacing(x2))
.u-spacingLeftAdd default marging to the left (spacing())
<div class="u-noSpacing">NoSpacing</div>
<div class="u-spacingTop">SpacingTop</div>
<div class="u-spacingTop--small">Small SpacingTop</div>
<div class="u-spacingTop--large">Large SpacingTop</div>
<div class="u-spacingRight">SpacingRight</div>
<div class="u-spacingBottom">SpacingBottom</div>
<div class="u-spacingBottom--large">Large SpacingBottom</div>
<div class="u-spacingLeft">SpacingLeft</div>
.u-noPadRemove all paddings from the element
.u-padTopAdd default padding to the top (spacing())
.u-padTop--largeAdd doubled default padding to the top (spacing(x2))
.u-padTop--large--aboveMidAdd doubled default padding to the top for medium(> 768px) media query (spacing(x2))
<div class="u-noPad">NoPadding</div>
<div class="u-padTop">PaddingTop</div>
<div class="u-padTop--large">Large PaddingTop</div>
<div class="u-padTop--large--aboveMid">Large PaddingTop for screens more than 768px</div>
%u-ir,.u-irBackground image replacement
.u-hideText,%u-hideTextAlternative image replacement technique
.u-unstyled,%u-unstyled<ul class="u-unstyled">
<li>Unstyled list element</li>
<li>Unstyled list element</li>
<li>Unstyled list element</li>
</ul>
%u-elementFocus,.u-elementFocusCustom outline styling for elements that have a focus state
%u-elementFocus--boxShadow,.u-elementFocus--boxShadowCustom visual outline emulation for better appearance on elements with rounded corners