0.1.1 • Published 5 years ago

@ryanmorr/is-at-rule-supported v0.1.1

Weekly downloads
2
License
Unlicense
Repository
github
Last release
5 years ago

isAtRuleSupported

Version Badge Build Status License

Feature test support for CSS at-rules

Install

Download the development or minified version, or install via NPM:

npm install @ryanmorr/is-at-rule-supported

Usage

To use the method, simply provide a string of the CSS at-rule:

import isAtRuleSupported from '@ryanmorr/is-at-rule-supported';

// Check if the @keyframes rule supported
isAtRuleSupported('@keyframes');

// Check if the @supports rule supported
isAtRuleSupported('@supports');

License

This project is dedicated to the public domain as described by the Unlicense.

0.1.1

5 years ago

0.1.0

5 years ago