Header
Used to define spacing values
Our spacing values are derived from our 4px baseline grid. Instead of using pixels, we have defined our own custom units and a new scale. This helps us in abstracting away from the technical details and ensuring scalability across products.
With our new scale, spacing units are set in multiples of 4 i.e. 1 unit = 4px.
Spacing classes take on the syntax of .{property}-{spacing value}
. Spacing values can range from 0-15 i.e. 0px - 60px.
<div class="mr-2 mt-12 ml-4"></div>
<div class="pt-4 pb-1 pl-1 pr-2"></div>