6个版本
使用旧的Rust 2015
0.0.5 | 2017年11月13日 |
---|---|
0.0.4 | 2017年11月13日 |
在解析器实现中排名1874
每月下载量84
59KB
996 行
css-autoprefix
css-autoprefix 是一个Rust crate,它提供了一个类似于 autoprefixer 的库,但使用Rust。
目前需要nightly rust作为依赖(phf)需要nightly。
以下属性值不会被自动添加前缀
// Property Values
/*
Feature Name Property Name(s) Property Values
intrinsic-width 'width', 'min-width', 'max-width', 'height', 'min-height', 'max-height', 'inline-size', 'min-inline-size', 'max-inline-size', 'block-size', 'min-block-size', 'max-block-size', 'grid', 'grid-template', 'grid-template-rows', 'grid-template-columns', 'grid-auto-columns', 'grid-auto-rows' with values 'max-content', 'min-content', 'fit-content', 'fill', 'fill-available', 'stretch'
css-filter-function 'background', 'background-image', 'border-image', 'mask', 'list-style', 'list-style-image', 'content', 'mask-image' filter() (a filter function, needs prefixing with -webkit- currently)
css-element-function 'background', 'background-image', 'border-image', 'mask', 'list-style', 'list-style-image', 'content', 'mask-image' element() (a element function, needs prefixing with -moz- currently)
css-image-set 'background', 'background-image', 'border-image', 'mask', 'list-style', 'list-style-image', 'content', 'mask-image' image-set() (an image-set function, needs prefixing)
css-cross-fade 'background', 'background-image', 'border-image', 'mask', 'list-style', 'list-style-image', 'content', 'mask-image' cross-fade() (an image-set function, needs prefixing)
css-unicode-bidi unicode-bidi Various settings for property values. Quite messy. Not widely used. Note that `css-unicode-bidi` is the name autoprefixer uses, but it does not seem to be in my caniuse.com database.
css-gradients (Historic)
calc (Historic); a function that affects all properties
css3-cursors-newer (Historic) cursor zoom-in,zoom-out
css-crisp-edges: too messy; Chrome and Firefox conflict
*/
许可
此项目的许可证是MIT。
依赖项
~7MB
~154K SLoC