Generated by SassMeister.com.
.p-small {
font-size: 1em;
}
.p {
font-size: 1.25em;
}
.p-large {
font-size: 1.56em;
}
// ----
// Sass (v3.3.10)
// Compass (v1.0.0.alpha.20)
// ----
@function my-pow($value,$exponent) {
$unit: unit($value);
$stripped: $value / ($value * 0 + 1);
$return: $stripped;
@if $exponent == 0 {
$return: 1;
} @else {
@for $i from 1 to $exponent {
$return: $return * $stripped;
}
}
@return round($return*100)/100 * 1#{$unit};
}
.p-small {
font-size: my-pow(1.25em,0);
}
.p {
font-size: my-pow(1.25em,1);
}
.p-large {
font-size: my-pow(1.25em,2);
}