/postcss-dialog-polyfill

PostCSS plugin which add selector needed by dialog-polyfill

Primary LanguageJavaScript

@tsuyoshiwada/postcss-dialog-polyfill

PostCSS plugin which add selector needed by dialog-polyfill


This is the postcss-dialog-polyfill Fork project.

Bug fix included in the original package.
This package is unnecessary when PR (#1) is merged 👍


/* Input */
.test1::backdrop {
  background-color: #fff;
}
/* Output */
.test1::backdrop {
  background-color: #fff;
}
.test1 + .backdrop {
  background-color: #fff;
}

Installation

$ npm i @tsuyoshiwada/postcss-dialog-polyfill -D

Usage

Check out PostCSS documentation on how to use PostCSS plugins.