- +1 (714) 578-6100
Hours Mon - Fri, 07:00 AM - 06:00 PM (Pacific Time)
Grid system includes a responsive, mobile first grid system that appropriately scales up to 12 columns as the device or viewport size increases. It includes predefined classed for easy layout options
.row
to create horizontal groups of columns..row
and .col-sm-4
are available for quickly making grid layouts.div
tag with class .col-sm-4
Look to the examples for applying these principles to your code.
We use the following breakpoints in our CSS files to create the key breakpoints in our grid system.
screen-width <480px
screen-width >=480px
screen-width >=768px
screen-width >=1024px
Please see how aspects of the grid system work across multiple devices with a handy table.
Portrait Phones Portrait Phones (<480px) | Landscape Phones Landscape Phones (>=480px) | Small devices Tablets (>=768px) | Medium/Large devices Desktops (>=1024px) | |
---|---|---|---|---|
Grid Behavior | Horizontal at all times | Collapsed to start, horizontal above breakpoints | ||
Class prefix | .col-* |
.col-sm-* |
.col-md-* |
.col-lg-* |
Using a single set of .col-sm-*
grid classes, you can create a basic grid system that starts out stacked on portrait mobile devices before becoming horizontal on landscape mobile, tablet and desktop devices (>= 480px). Place grid columns in any .row
.
.col-sm-*
implement on screen >= 480px..col-sm-1
.col-sm-9 and .col-sm-3
or .col-sm-8 and .col-sm-4
or .col-sm-7 and .col-sm-5
. Any couple classes are fine if the totals is 12..col-sm-8 and .col-sm-4
.col-sm-4
.col-sm-6
Don't want your columns to simply stack in smaller devices? Use the extra medium and large device grid classes by adding .col-md-* .col-lg-*
to your columns. See the example below for a better idea of how it all works.
Build on the previous example by creating even more dynamic and powerful layouts.
Get three equal-width columns starting at tablets and scaling to desktops. On mobile devices and below, the columns will automatically stack.
Get three columns starting at desktops and scaling to large desktops of various widths. Remember, grid columns should add up to twelve for a single horizontal block. More than that, and columns start stacking no matter the viewport.
Get two columns starting at tablets and scaling to desktops.
.align-flex-center
on .row
Example:
.col-6 .col-sm-4
Centrifuges are used in pharmaceutical, biology, microbiology, manufacturing and research labs to separate and isolate suspensions, gas and immiscible liquids.
.col-6 .col-sm-4
Centrifuges can be categorized as ventilated or refrigerated centrifuges.
.col-6 .col-sm-4
Centrifuges are used in pharmaceutical, biology, microbiology, manufacturing and research labs to separate and isolate suspensions, gas and immiscible liquids. The rotating action of the centrifuge chamber creates the separation as lighter particles migrate toward the axis of centrifugal rotation while more dense particles migrate away.
.align-flex-end
on .row
Example:
.col-6 .col-sm-4
Centrifuges are used in pharmaceutical, biology, microbiology, manufacturing and research labs to separate and isolate suspensions, gas and immiscible liquids.
.col-6 .col-sm-4
Centrifuges can be categorized as ventilated or refrigerated centrifuges.
.col-6 .col-sm-4
Centrifuges are used in pharmaceutical, biology, microbiology, manufacturing and research labs to separate and isolate suspensions, gas and immiscible liquids. The rotating action of the centrifuge chamber creates the separation as lighter particles migrate toward the axis of centrifugal rotation while more dense particles migrate away.
Using class .blue
to make text color: #005978
Centrifuges are used in pharmaceutical
Using class .blue-bold
to make text color: #004f6a
Centrifuges are used in pharmaceutical
Using class .accent
to make text color: #71daff
Centrifuges are used in pharmaceutical
Using class .accent-bold
to make text color: #6ac7e8
Centrifuges are used in pharmaceutical
<span style="color:#ff0000">Centrifuges are used in pharmaceuticalk</span>
Centrifuges are used in pharmaceutical