【文件属性】:
文件名称:postcss-color-function:PostCSS插件将W3C CSS颜色功能转换为更兼容CSS
文件大小:10KB
文件格式:ZIP
更新时间:2021-04-24 00:08:27
JavaScript
postcss颜色功能
插件可将CSS颜色功能从“颜色模块级别4”规范的编辑器草案转换为更兼容CSS。
不推荐使用
:warning: color()更改为color-mod() 。 参见 。
有一个实现。
:warning: color-mod()已从删除。
安装
npm install postcss-color-function
用法
// dependencies
var fs = require ( "fs" )
var postcss = require ( "postcss" )
var colorFunction = require ( "postcss-color-function" )
// css to be processed
var css = fs . readFileSync ( "input.css" , "utf8" )
// process css
// set pres
【文件预览】:
postcss-color-function-master
----.eslintrc.yml(843B)
----.travis.yml(55B)
----LICENSE(1KB)
----test()
--------fixtures()
--------index.js(4KB)
----README.md(4KB)
----.editorconfig(238B)
----.gitignore(40B)
----index.js(2KB)
----CHANGELOG.md(2KB)
----package.json(849B)