Skip to main content

JCU Web Framework

The living style guide for University web applications.


In order to achieve the page layouts and designs, the framework implements several additional layout aspects.



  • .col-pr-12 forces a grid layout container to using 100% width when printed. This is the only print grid layout class provided as a simple shortcut. If fully-featured printing is required consult issue #15042 or #16800.

Maximum-width fluid container

This differs from a nested .container and .container-fluid approach as that results in just a fixed-width container at different breakpoints. This is a fluid container that possesses a specific maximum width.

This container is fluid, but only until the max-width limit. You probably won't see any effect in this example.

<div class="container-fluid container-fluid--max-width">
  <p>This container is fluid, but only until the max-width limit.  You probably
  won't see any effect in this example.</p>


Flexbox, or the Flexible Box Layout Module, is a method of positioning elements in horizontal or vertical stacks. This positioning module resolves many issues around floating elements, absolute positioning and scripting hacks to achieve its results. Browser support is steadily increasing, and in most cases, degrades reasonably well into older browsers.

These convenience classes allow easy alignment of content, particularly within the grid system:


to the

<div class="row flex-items-start">
  <div class="col-xs-4 jcu-bg--black"><h1>Aligned</h1></div>
  <div class="col-xs-4 jcu-bg--blue"><h3>to the</h3></div>
  <div class="col-xs-4 jcu-bg--green"><h6>top</h6></div>


are vertically

<div class="row flex-items-center">
  <div class="col-xs-4 jcu-bg--black"><h1>Containers</h1></div>
  <div class="col-xs-4 jcu-bg--blue"><h3>are vertically</h3></div>
  <div class="col-xs-4 jcu-bg--green"><h6>centred</h6></div>


to the

<div class="row flex-items-end">
  <div class="col-xs-4 jcu-bg--black"><h1>Algined</h1></div>
  <div class="col-xs-4 jcu-bg--blue"><h3>to the</h3></div>
  <div class="col-xs-4 jcu-bg--green"><h6>bottom</h6></div>

Flexbox and print

  • .visible-print-flex provides a useful class to hide an element from display on a screen, but set its display to be flex on print. This is essentially the same as .visible-print-block from Bootstrap core, just for Flexbox instead.