by Allette Systems
Elements
Cards • Buttons • Columns • Tables • Styled messages
© 1999-2022 — Allette Systems (Australia)
Simple site comes with a 12 point grid system built-in. The grid is used to create specific layouts within an application’s
content. It contains 5 types of media breakpoints that are used for targeting specific screen sizes or orientations, xs
, sm
, md
, lg
and xl
. These resolutions are defined in the viewport breakpoints table.
Each fragment is considered a column and the number of columns per row depends on the label applied to the fragment. If no label is applied, the fragment behaves as a 12 column size.
If you aren’t familiar with the concept of a grid system, please look at the following suggested guides:
Add a custom fragment-label
as follows:
[prefix]-[type]-[size]
*see Legend
There are labels that support responsive displays using the desirable code of the breakpoint.
Just add a custom fragment-label as follows:
[prefix]-[type]-[breakpoint]-[size]
*see Legend
Breakpoint-based options on a grid work in an andUp fashion. With this in mind, the xs
breakpoint is assumed and has been removed from this context.
s-col-sm
and s-col-md
exist, but s-col-xs
doesn’t.s-col-xs
is the s-col
option.Let’s say you need:
Add three labels for each fragment (column):
*Legend:
prefix = Simple site prefix s
type = type of label col
breakpoint = breakpoint code sm
, md
, lg
and xl
size = column size (from 1
to 12
)
In some cases, you might need to use a line/column break to move the next column(s) to another line by adding an empty fragment or starting a new row.
View columns demo.
by Allette Systems
Elements
Cards • Buttons • Columns • Tables • Styled messages
© 1999-2022 — Allette Systems (Australia)