A TypeScript implementation of CSS.supports(), which provides intellisense (autocomplete suggestions) and validation for CSS property names and CSS property values.
CSS.supports()
import { cssSupports } from '@neoncitylights/typed-css-utils';const supportsGrid = cssSupports('display', 'grid');const supportsFlex = cssSupports('display', 'flex');
Global browser support is at 98.79% as of November 2022, and therefore stable to use.
Generated using TypeDoc
A TypeScript implementation of
CSS.supports()
, which provides intellisense (autocomplete suggestions) and validation for CSS property names and CSS property values.Example
Note
Global browser support is at 98.79% as of November 2022, and therefore stable to use.
See