| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
nf456
9年前发布

一个 Node.js 的 CSS 后处理器框架:PostCSS

PostCSS 是一个 Node.js 的 CSS 后处理器框架,与 Sass/Less 相比,它完全使用 JS 控制逻辑,让 CSS 开发者可以更专注于 CSS 编写,同时还有完整的 source map 支持等特性。可以用来做 CSS 预处理、压缩/美化、编辑器插件、CSS polyfill、命令行工具等。

利用 PostCSS构建:

Tools

  • Autoprefixer adds vendor prefixes by Can I Use data.
  • BEM linter lints CSS for SUIT CSS methodology.
  • CSS MQPacker joins same media queries.
  • css2modernizr analyzes your CSS and output only used Modernizr’s settings.
  • cssnext is a transpiler (CSS4+ to CSS3) that allow you to use tomorrow’s CSS syntax today.
  • CSSWring is a CSS minifier with full source map support.
  • data-separator splits data-uri into a separate CSS file.
  • pixrem is aremunit polyfill.
  • webpcss to duplicate images in CSS to WebP for supported browsers.
  • Pleeease is a pack of various postprocessors.
  • Pleeease Filters converts WebKit filters to SVG filter for other browsers.
  • RTLCSS mirrors styles for right-to-left locales.
  • CSS Byebye explicitly removes the CSS rules that you don’t want.
  • postcss-epub to prefix ePub3 properties.
  • doiuse to lint your CSS on unsupported properties by Can I Use.
  • postcss-assets to inline files and insert image width and height.
  • ACSS Annotations based CSS processor.

Plugins



项目主页:http://www.open-open.com/lib/view/home/1420382286828

 本文由用户 nf456 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1420382286828.html
PostCSS Web开发工具