Sha256: a2cd7111f3170c9bb054320d6f9e00dddd1cfa0a787d8fb090f726953c302a54

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

3.2.12 (Media Mark)
fc5f9108f250edc5459dd7a9cf9373a6dfcfcbe1
o:Sass::Tree::RootNode
:
@linei:@has_childrenT:@template"è// 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;
}

:@children[o:Sass::Tree::CommentNode
;i:
@type:silent;	[:@value["¢/* 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) */:
@options{o:Sass::Tree::FunctionNode;i
:
@name"em;T:@splat0;	[o:Sass::Tree::ReturnNode	:
@expro:Sass::Script::Operation
;i:@operand2o:Sass::Script::Number;i:@denominator_units[:@numerator_units["em:@original"1em;
i;@;@:@operator:
times:@operand1o;
;i;o:Sass::Script::Variable	;i;"	base:@underscored_name"	base;@;@;:div;o;	;i;"
pxval;"
pxval;@;i;	[;@;@:
@args[[o;;"
pxval;"
pxval;@0[o;;"	base;"	base;@o;;i
;[;[;"16;
i;@;@

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refills-0.0.1 source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_px-to-em.scssc