https://github.com/komachi/postcss-dialog-polyfill
PostCSS plugin which add selector needed by dialog-polyfill
https://github.com/komachi/postcss-dialog-polyfill
postcss-plugins
Last synced: 12 months ago
JSON representation
PostCSS plugin which add selector needed by dialog-polyfill
- Host: GitHub
- URL: https://github.com/komachi/postcss-dialog-polyfill
- Owner: komachi
- Created: 2016-08-18T11:23:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-06-24T19:42:18.000Z (almost 4 years ago)
- Last Synced: 2024-04-13T23:24:21.482Z (almost 2 years ago)
- Topics: postcss-plugins
- Language: JavaScript
- Homepage:
- Size: 1.06 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# postcss-dialog-polyfill
>PostCSS plugin which add selector needed by [dialog-polyfill](https://github.com/GoogleChrome/dialog-polyfill)
```css
/* Input */
.test1::backdrop {
background-color: #fff;
}
```
```css
/* Output */
.test1::backdrop, .test1 + .backdrop {
background-color: #fff;
}
```
## Installation
```
npm i postcss postcss-dialog-polyfill --save-dev
```
## Usage
Check out [PostCSS documentation](https://github.com/postcss/postcss#usage) on how to use PostCSS plugins.