Font-Awesome/scss/_sizing.scss

17 lines
308 B
SCSS
Raw Permalink Normal View History

2022-02-07 20:16:51 +00:00
// sizing icons
// -------------------------
// literal magnification scale
@for $i from 1 through 10 {
.#{$fa-css-prefix}-#{$i}x {
font-size: $i * 1em;
}
}
// step-based scale (with alignment)
@each $size, $value in $fa-sizes {
.#{$fa-css-prefix}-#{$size} {
@include fa-size($value);
}
}