constant ScssNumber::UNIT_RELATIVE in SCSS Compiler 1.0.x
Used when filtering the allowed units list to include "relative" units.
Below is a list of included units:
- rem: × the root font size
- em: × the element font size
- lh: × the line height of the element
- ex: × the x-height of the element font
- ch: × the width of "0" in the element font
- vh: × 1% of the viewport height
- vw: × 1% of the viewport width
- vmax: × 1% of the larger viewport dimension
- vmin: × 1% of the smaller viewport dimension
File
- src/
Element/ ScssNumber.php, line 88
Class
- ScssNumber
- A form element to represent Sass numbers with a unit.
Namespace
Drupal\compiler_scss\ElementCode
const UNIT_RELATIVE = 0b10000;