css-units-list
v2.1.0
Published
List of CSS:Cascading Style Sheets Units
Downloads
11,623
Readme
css-units-list
List of CSS:Cascading Style Sheets Units
Data from CSS Values and Units Module Level 4
Install
yarn add css-units-list
Usage
import cssUnits from 'css-units-list'
console.log(cssUnits)
// => [ 'em', 'rem', 'ex', 'rex', 'cap', 'rcap', ...]
import {
fontRelativeLengths,
viewportPercentageLengths,
relativeLengths,
absoluteLengths,
angleUnits,
durationUnits,
frequencyUnits,
resolutionUnits,
containerRelativeLengths,
containerQueryLengthUnits, // Alias of `containerRelativeLengths`
flexibleLengths,
} from 'css-units-list'