Sha256: 70109aa2c6adb83fa067c3cc5ad416a5831ced536363779412134c3f3c1a6d16
Contents?: true
Size: 1.15 KB
Versions: 12
Compression:
Stored size: 1.15 KB
Contents
3.2.9 (Media Mark) fc5f9108f250edc5459dd7a9cf9373a6dfcfcbe1 o:Sass::Tree::RootNode :@children[o:Sass::Tree::CommentNode :@value[I"¢/* Convert pixels to ems * eg. for a relational value of 12px write em(12) when the parent is 16px * if the parent is another value say 24px write em(12, 24) */:ET: @type:silent;[ : @linei: @options{ o:Sass::Tree::FunctionNode: @nameI"em; T: @args[[o:Sass::Script::Variable;I" pxval; T:@underscored_nameI" pxval; T; @0[o;;I" base; T;I" base; T; @o:Sass::Script::Number;i:@numerator_units[ :@denominator_units[ ;i :@originalI"16; F; @:@splat0;[o:Sass::Tree::ReturnNode : @expro:Sass::Script::Operation :@operand1o; ;o; ;I" pxval; T;I" pxval; T;i; @:@operand2o; ;I" base; T;I" base; T;i; @:@operator:div;i; @;o;;i;[I"em; T;[ ;i;I"1em; F; @;: times;i; @;[ ;i; @;i :@has_childrenT; @:@templateI"è// Convert pixels to ems // eg. for a relational value of 12px write em(12) when the parent is 16px // if the parent is another value say 24px write em(12, 24) @function em($pxval, $base: 16) { @return ($pxval / $base) * 1em; } ; T;i; T; @
Version data entries
12 entries across 12 versions & 1 rubygems