Skip to content

$spacer multiplier #32408

Answered by mdo
Bot12313 asked this question in Ideas
Discussion options

You must be logged in to vote

$spacer gets reused and extended into a Sass map. We use $spacer as a general baseline that we can scale things around.

$spacer: 1rem !default;
$spacers: (
0: 0,
1: $spacer / 4,
2: $spacer / 2,
3: $spacer,
4: $spacer * 1.5,
5: $spacer * 3,
) !default;

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mdo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants