🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

browserslist-config-css-grid

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserslist-config-css-grid

Browserslist config of all browsers that support css grid

1.0.0
latest
Version published
Weekly downloads
32
-5.88%
Maintainers
1
Weekly downloads
 
Created

Browserslist Config CSS Grid

Do you use CSS Grid? Then this browserslist is for you!

Exports a browserslist of all browsers that support CSS Grid (browsers that have partial support, e.g. IE 11, are excluded).

npm install --save-dev browserslist-config-css-grid
  "browserslist": [
    "extends browserslist-config-css-grid"
  ]

Since browserslist-config-css-grid includes all browsers that support CSS Grid it is recommended to combine it with and queries to further limit the supported browsers.

To combine it with Browserslist's defaults list use:

  "browserslist": [
    "extends browserslist-config-css-grid and defaults"
  ]

To combine it with the last 2 versions, or > 0.2%, and browsers that are not dead, use (note that and has to come after or):

  "browserslist": [
    "last 2 versions or > 0.2% and not dead and extends browserslist-config-css-grid"
  ]

After setting up the browserslist config in your project you can run npx browserslist in the root directory to see the list of browsers.

For more info on using browserslist queries see https://github.com/browserslist/browserslist#query-composition

FAQs

Package last updated on 21 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts