#px and pt to rem@function px($px) { @return round($px * 0.0625rem * 100) / 100; } @function pt($pt) { @return px($pt * 1.333); }