在传统浏览器和现代浏览器中提供对 CSS 自定义属性(又称“CSS 变量”)的客户端支持
A ponyfill that provides client-side support for CSS custom properties (aka "CSS variables") in legacy and modern browsers.
<link>, <style>, and @import CSSurl() paths to absolute URLsvar() functionsvar() function fallback values<link> and <style> changesLimitations
:root and :host rulesetsvar() is limited to property values (per W3C specification)Browser Support
Chrome 19+
Edge 12+
Firefox 6+
IE 9+
Safari 6+
See the documentation site for details.
A sponsorship is more than just a way to show appreciation for the open-source authors and projects we rely on; it can be the spark that ignites the next big idea, the inspiration to create something new, and the motivation to share so that others may benefit.
If you benefit from this project, please consider lending your support and encouraging future efforts by becoming a sponsor.
Thank you!
This project is licensed under the MIT License. See the MIT LICENSE for details.
Copyright (c) John Hildenbiddle (@jhildenbiddle)
暂无开放 Issues,或尚未同步最近议题。