@use 'sass:math'; // font-size: rem(30); @function rem($pixel){ // Devide $pixels by 16 to returen rem @return math.div($pixel, 16) + rem; }
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
Comment *
Δ
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Thanks, very useful mixin.
Subscribe to our mailing list and get interesting stuff and updates to your email inbox
Enter Your E-Mail
Thanks, very useful mixin.