This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.5.4) | |
// ---- | |
@function space($space-value) { | |
@return $space-value * 1rem; | |
} | |
.my-class { | |
padding: space(2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.5.4) | |
// ---- | |
/* Example 1 */ | |
@mixin text-1 { | |
font-size: 1.5rem; | |
color: red; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.5.4) | |
// ---- | |
$font-sizes: ( | |
xs: 0.75rem, | |
sm: 0.875rem, | |
md: 1.125rem, | |
lg: 1.25rem, | |
xl: 1.75rem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.5.4) | |
// ---- | |
$sans: sans-serif; | |
$serif: serif; | |
$sans-weight: ( | |
lighter: 300, | |
bolder: 700 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.layout-main { | |
display: inline-block; | |
display: flex; | |
display: grid; | |
width: 100%; | |
} | |
.layout-main__left { | |
float: left; | |
width: 75%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.layout-main { | |
display: inline-block; | |
display: flex; | |
width: 100%; | |
} | |
.layout-main__left { | |
float: left; | |
width: 75%; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.layout-main { | |
display: inline-block; | |
width: 100%; | |
} | |
.layout-main__left { | |
float: left; | |
width: 75%; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin spacing-loop($property, $space, $value) { | |
@each $poskey, $posvalue in $spacing-key { | |
&-#{$poskey}-#{$space} { | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin spacing-loop($property, $space, $value) { | |
@each $poskey, $posvalue in $spacing-key { | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin spacing-loop($property, $space, $value) { | |
} |