2.0.1 • Published 2 years ago
css-units-list v2.0.1
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`
} from 'css-units-list'