boday_tf/boday_it/private/sass/mixins/_functions.scss
2020-01-27 12:38:52 -05:00

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;
}