Use a leading zero for numbers.
Pro:
- css-guidelines
(https://github.com/chris-pearce/css-guidelines#formatting)
- a mathemacial point of view (http://hey.georgie.nu/leadingzero/).
Cons:
- Codestyle.co (http://codestyle.co/Guidelines/css#Syntax)
- Less concise
/// Right (or left) offset(s) for a close button.
/// @type Number|Map
$closebutton-offset-horizontal: (
- small: .66rem,
+ small: 0.66rem,
medium: 1rem,
) !default;
/// Top (or bottom) offset(s) for a close button.
/// @type Number|Map
$closebutton-offset-vertical: (
- small: .33em,
- medium: .5rem,
+ small: 0.33em,
+ medium: 0.5rem,
) !default;
/// Default font size(s) of the close button.
$closebutton-position: right top;
$closebutton-offset-horizontal: (
- small: .66rem,
+ small: 0.66rem,
medium: 1rem,
);
$closebutton-offset-vertical: (
- small: .33em,
- medium: .5rem,
+ small: 0.33em,
+ medium: 0.5rem,
);
$closebutton-sizes: (
small: 1.5em,