January 2017
Intermediate to advanced
134 pages
2h 28m
English
For any project of size, setting variables for sizing, colours, and z-index is essential.
UIs are typically based upon some form of grid or sizing ratio. Therefore sizing should be based upon set sizes, and sensible delineations of those sizes. For example here is 11px based sizing and variants as variables:
$size-full: 11px; $size-half: 5.5px; $size-quarter: 2.75px; $size-double: 22px; $size-treble: 33px; $size-quadruple: 44px;
For a developer, the use of variables offers additional economies. For example, it saves colour picking values from composites. It also helps to normalise designs.
For example, if a project uses only 13px, 15px and 22px font sizes and a change comes through requesting ...
Read now
Unlock full access