| 123456789101112 |
- // ==========================================================================
- // em()
- //
- // Convert px to em in a readable fashion.
- // ==========================================================================
- // Examples:
- // 1. font-size: em(14px);
- // 2. font-size: em(30px/14px);
- @function em($value, $context: map-get($root-font, font-size)) {
- @return ($value / $context * 1em);
- }
|