非常教程

PostCSS 参考手册

PostCSS插件

向下兼容

向下兼容

  • postcss-color-rgba-fallback转换rgba()为十六进制。
  • postcss-disabled在伪类存在时添加[disabled]属性和/或.disabled:disabled
  • postcss-epub-epub-前缀添加到相关属性。
  • postcss-esplit 为CSS分割你的CSS超过4095选择器。
  • postcss-fallback添加fallback函数以避免重复声明。
  • postcss-filter-gradient 为旧IE添加渐变过滤器。
  • postcss-flexibility添加-js-前缀。Flexibility polyfill
  • postcss-gradient-transparency-fix转换transparent渐变中的值以支持Safari的不同颜色插值。
  • postcss-hash-classname 将哈希字符串附加到您的css类名称。
  • postcss-mqwidth-to-class 将min / max-width媒体查询转换为类。
  • postcss-opacity 为IE8添加不透明度过滤器。
  • postcss-pseudoelements::选择:器转换为选择器以实现IE 8兼容性。
  • postcss-round-subpixels 将子像素值舍入到最近的完整像素的插件。
  • postcss-unmq 删除媒体查询,同时保留IE≤8的桌面规则。
  • postcss-vmin在IE9中vmvmin单位生成后备。
  • postcss-will-changewill-change属性之前插入3D hack 。
  • autoprefixer 使用Can I Use中的数据为您添加供应商前缀。
  • postcss-pie 使IE成为几个最有用的CSS3装饰功能。
  • cssgrace 为IE和其他旧浏览器提供各种帮助和转换CSS 3。
  • pixrem生成rem单位的像素回退。
  • postcss-fixie 增加轻松无痛的IE黑客攻击

另见插件包。oldie

PostCSS

PostCSS 是一个利用 JS 插件来对 CSS 进行转换的工具

PostCSS 目录

1.快速上手
2.PostCSS插件指南
3.PostCSS runner指南
4.编写自定义语法
5.PostCSS插件
6.PostCSS和源地图