shila-css

2.1.3 #tools.core.shila-px-to-rem shila-px-to-rem

@function shila-px-to-rem($px, $breakpoint: "default")

Returns the rem equivalent of the size provided in pixels, in the optionally provided breakpoint.

Parameters:
  • $px
    Size in pixels.
  • $breakpoint
    (Optional.) Breakpoint key in $shila-base-font-sizes.
Source: partials/tools/_tools.core.scss, line 16