Tag: Numbers
-

SCSS – Remove units from numbers
In the realm of CSS preprocessing, we often encounter situations where we need to perform calculations or pass values to functions that expect unitless numbers. However, numbers in CSS often come with units like pixels (px), ems (em), or percentages (%), which can be problematic in such cases. Introducing the strip-unit Function To address this…
