boday_tf/boday_it/private/sass/mixins/_functions.scss

13 lines
295 B
SCSS
Raw Permalink Normal View History

2020-01-27 17:38:52 +00:00
// #############################################################################
// FUNCTIONS
// basic mathematical functions that are helpful
// em calculation
@function em($target, $context: $font-size) {
@if $target == 0 {
@return 0
}
@return $target / $context + em;
}