Reputation: 9819
Lots of documentation on doing this in SCSS..
@function _em($wanted, $inherited) {
@return ($wanted / $inherited) + 'em';
}
How would you go about this in Sass?
Upvotes: 2
Views: 228
Reputation: 40433
@function _em()
@return ($wanted / $inherited) + 'em'
Just remove the brackets and semicolons.
Upvotes: 2