12 lines
295 B
SCSS
Executable file
12 lines
295 B
SCSS
Executable file
// #############################################################################
|
|
// FUNCTIONS
|
|
|
|
// basic mathematical functions that are helpful
|
|
|
|
// em calculation
|
|
@function em($target, $context: $font-size) {
|
|
@if $target == 0 {
|
|
@return 0
|
|
}
|
|
@return $target / $context + em;
|
|
}
|