{"id":15364931,"url":"https://github.com/vagusx/postcss-bgc-rgba-fallback","last_synced_at":"2026-01-23T12:54:25.693Z","repository":{"id":57327812,"uuid":"68896281","full_name":"vagusX/postcss-bgc-rgba-fallback","owner":"vagusX","description":"postcss plugin for background rgba polyfill","archived":false,"fork":false,"pushed_at":"2020-06-02T13:44:54.000Z","size":172,"stargazers_count":3,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-26T08:20:31.665Z","etag":null,"topics":["background-rgba","fallback","ie8","polyfill","postcss","postcss-plugins"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vagusX.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-22T07:33:00.000Z","updated_at":"2023-10-03T22:04:25.000Z","dependencies_parsed_at":"2022-09-17T14:31:54.222Z","dependency_job_id":null,"html_url":"https://github.com/vagusX/postcss-bgc-rgba-fallback","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vagusX%2Fpostcss-bgc-rgba-fallback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vagusX%2Fpostcss-bgc-rgba-fallback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vagusX%2Fpostcss-bgc-rgba-fallback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vagusX%2Fpostcss-bgc-rgba-fallback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vagusX","download_url":"https://codeload.github.com/vagusX/postcss-bgc-rgba-fallback/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240291778,"owners_count":19778299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["background-rgba","fallback","ie8","polyfill","postcss","postcss-plugins"],"created_at":"2024-10-01T13:13:35.888Z","updated_at":"2026-01-23T12:54:25.677Z","avatar_url":"https://github.com/vagusX.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostCSS Bgb Rgba Fallback \n\n![NPM](https://img.shields.io/npm/v/postcss-bgc-rgba-fallback.svg)\n[![Traivs CI](https://travis-ci.org/vagusX/postcss-bgc-rgba-fallback.svg)](https://travis-ci.org/vagusX/postcss-bgc-rgba-fallback)\n[![Coverage](https://img.shields.io/codecov/c/github/vagusX/postcss-bgc-rgba-fallback.svg)](https://codecov.io/gh/vagusX/postcss-bgc-rgba-fallback)\n[![NPM Downloads](https://img.shields.io/npm/dm/postcss-bgc-rgba-fallback.svg)](https://www.npmjs.com/package/postcss-bgc-rgba-fallback)\n[![Greenkeeper badge](https://badges.greenkeeper.io/vagusX/postcss-bgc-rgba-fallback.svg)](https://greenkeeper.io/)\n\n\u003e [PostCSS](https://github.com/postcss/postcss) plugin to polyfill background rgba for IE8\n\n## Detail about polyfill for background rgba in IE8\n\nThe origin artile [Cross browser alpha transparent background CSS (rgba)](http://rland.me.uk/cross-browser-alpha-transparent-background-10-2011) is removed now. You can see [this anwser](https://stackoverflow.com/questions/36007521/filter-in-ie8-doesnt-work-fix-rgba-in-ie8) from stackoverflow.\n\n## Installation\n\n```bash\n$ npm install postcss-bgc-rgba-fallback\n```\n\n## Usage\n\n```js\n// dependencies\nvar fs = require('fs')\nvar postcss = require('postcss')\nvar bgcRgbaFallback = require('postcss-bgc-rgba-fallback')\n\n// css to be processed\nvar css = fs.readFileSync('input.css', 'utf8')\n\n// process css\nvar output = postcss()\n  .use(bgcRgbaFallback())\n  .process(css)\n  .css\n```\n\n```css\n.foo {\n  background-color: rgba(255,102,0,0.3);\n}\n```\n\n```css\n.foo {\n  background-color: rgb(255,102,0);\n  background-color: transparent\\9;\n  background-color: rgba(255,102,0,0.3);\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4cFF6600, endColorstr=#4cFF6600);\n  zoom: 1;\n}\n.foo:nth-child(n) {\n  filter: none;\n}\n```\n\n[![JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvagusx%2Fpostcss-bgc-rgba-fallback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvagusx%2Fpostcss-bgc-rgba-fallback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvagusx%2Fpostcss-bgc-rgba-fallback/lists"}