Sha256: 1acdb249b893f32ca1bc5f10ca0ae4bb84b7d9abd98021d2d1afbbb8f46ebf38
Contents?: true
Size: 269 Bytes
Versions: 2
Compression:
Stored size: 269 Bytes
Contents
// Convert pixels to ems @function em($size-in-px, $context: 16) { @if not unitless($size-in-px) { $size-in-px: strip-units($size-in-px); } @if not unitless($context) { $context: strip-units($context); } @return ($size-in-px / $context) * 1em; }
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
gumby_on_rails-0.0.1 | app/assets/stylesheets/gumby/functions/_em.scss |
middleman-gumby-0.0.1 | vendor/assets/sass/functions/_em.scss |