S4WEB/css/fontawesome-free-6.4.0-web/scss/_sizing.scss

17 lines
308 B
SCSS
Raw Permalink Normal View History

2023-03-30 10:11:56 +02: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);
}
}