|
1 | 1 | # CSS if() Function Polyfill
|
2 | 2 |
|
| 3 | +[](https://opensource.org/licenses/mit-license.php) |
| 4 | +[](https://bundlephobia.com/result?p=css-if-polyfill) |
| 5 | + |
| 6 | +[](https://npmjs.com/package/css-if-polyfill "CSS if() function polyfill – on NPM") |
| 7 | +[](https://www.jsdelivr.com/package/npm/css-if-polyfill "CSS if() function polyfill – on jsDelivr") |
| 8 | +[](https://www.codacy.com/gh/mfranzke/css-if-polyfill/dashboard) |
| 9 | +[](https://github.com/mfranzke/css-if-polyfill/actions/workflows/linter.yml) |
| 10 | +[](https://github.com/mfranzke/css-if-polyfill/actions/workflows/codeql-analysis.yml) |
| 11 | +[](https://snyk.io/test/github/mfranzke/css-if-polyfill?targetFile=package.json) |
| 12 | +[](https://npmjs.com/package/css-if-polyfill "CSS if() function polyfill – on NPM") |
| 13 | +[](https://github.com/prettier/prettier) |
| 14 | +[](https://github.com/xojs/xo) |
| 15 | +[](https://conventionalcommits.org) |
| 16 | +[](https://gitter.im/css-if-polyfill/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
| 17 | +[](http://makeapullrequest.com) |
| 18 | +[](https://github.com/ellerbrock/open-source-badges/) |
| 19 | +[](CODE-OF-CONDUCT.md) |
| 20 | + |
3 | 21 | A comprehensive JavaScript polyfill for the [CSS `if()` function](https://developer.mozilla.org/en-US/docs/Web/CSS/if) that provides support for conditional CSS with `style()`, [`media()`](https://developer.mozilla.org/de/docs/Web/CSS/@media), and [`supports()`](https://developer.mozilla.org/de/docs/Web/CSS/@supports) functions. Now with enhanced support for **multiple conditions within a single if()** and **shorthand property usage**.
|
4 | 22 |
|
5 | 23 | ## Features
|
|
0 commit comments