@a06062125
2016-10-10T08:35:25.000000Z
字数 1056
阅读 417
未分类
在此输入正文
rgbahsla transparent background-color, background, background-image, color, border, border-color, outline, outline-color ]3D加速属性(值)
backface-visibilityperspective
transform: translate3d(0,0,0)
/* original, not complete */new RegExp('[0-9]{3};', 'i')/* Right */new RegExp('[0-9][0-9A-F]{2};', 'i')
stylelint
{"rules": {"at-rule-no-vendor-prefix": true,"selector-max-compound-selectors": 5,"function-blacklist": ["hsl", "hsla"],"no-unsupported-browser-features": {"browsers": "> 1%, last 2 versions, ie >= 8"},"declaration-property-value-blacklist": {"transform": ["/scale3d/", "/rotate3d/", "/translate3d/", "/translateZ/"],"backface-visibility": ["hidden"],"perspective": ["/\\d+/"]}}}
需要过滤的步骤
If you use autoprefixer you'll want to disallow vendor prefixes using:
at-rule-no-vendor-prefix
Control specificity using:
级联最大长度
selector-max-compound-selectors
declaration-property-value-blacklist
Specify acceptable selector types, units, properties, functions and words in comments using:
color-no-hex
vinyl-fs vs vinylstream vs buffer