Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
plugins
/
jetpack
/
jetpack_vendor
/
automattic
/
jetpack-wordads
/
src
/
dashboard
/
scss
/
functions
:
rem.scss
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
// ====================================================================== // Rem function // // Convert px to rem in a readable fashion. // // Example: font-size: rem( 21px ); // ====================================================================== @use "sass:math"; $root-font-size: 16px; @function rem( $pixels, $context: $root-font-size ) { @return math.div($pixels, $context) * 1rem; }