diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:10:59 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:41:44 +0800 |
| commit | fc87c009806dcc98867f6b58efe29b042aa01dee (patch) | |
| tree | 8f59b3f4a5b66e9dfef2d40c8d318e258a521228 /node_modules/postcss-opacity/README.md | |
| parent | 3336b2356ee6152d9c6ae59bd9b87ccbc0958407 (diff) | |
node: updatemain
Diffstat (limited to 'node_modules/postcss-opacity/README.md')
| -rw-r--r-- | node_modules/postcss-opacity/README.md | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/node_modules/postcss-opacity/README.md b/node_modules/postcss-opacity/README.md deleted file mode 100644 index d8ec17c4..00000000 --- a/node_modules/postcss-opacity/README.md +++ /dev/null @@ -1,65 +0,0 @@ -# PostCSS Opacity [](https://travis-ci.org/iamvdo/postcss-opacity) - -[PostCSS](https://github.com/postcss/postcss) plugin that adds support for legacy browser opacity alternatives. - -## Example -```js -postcss([ - require('postcss-opacity') -]) -``` - -```css -/* Input example */ -.foo { - opacity: .5; -} -``` - -```css -/* Output example */ -.foo { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; - opacity: .5; -} -``` - -## Legacy -Support for IE 5-7, Safari 1.X, Netscape - -```js -postcss([ - require('postcss-opacity')({ - legacy: true - }) -]) -``` - -```css -/* Input example */ -.foo { - opacity: .5; -} -``` - -```css -/* Output example */ -.foo { - /* IE 8 */ - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; - - /* IE 5-7 */ - filter: alpha(opacity=50); - - /* Netscape */ - -moz-opacity: .5; - - /* Safari 1.x */ - -khtml-opacity: .5; - - /* Modern browsers */ - opacity: .5; -} -``` - -See [PostCSS](https://github.com/postcss/postcss) docs for examples for your environment. |
