Sha256: c519b867e6666862d0b89481e3968ade0d433de43ed9c382d7e0e813a3d0749f

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

3.2.13 (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:@numerator_units["em:@original"1em;
i:@denominator_units[;@:@operand1o;
;i;o:Sass::Script::Variable	;i;"	base:@underscored_name"	base;@;o;	;i;"
pxval;"
pxval;@;@:@operator:div;@;:
times;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.2 source/stylesheets/.sass-cache/f42b2997d6b9b825e31277de8bd0911929c9e03c/_px-to-em.scssc