Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PostCSS 與 cssnext

PostCSS 與 cssnext

Avatar for julian7454

julian7454

August 01, 2016
Tweet

More Decks by julian7454

Other Decks in Technology

Transcript

  1. 什麼是 PostCSS “PostCSS is a tool for transforming CSS with

    JS plugins. These plugins can support variables and mixins, transpile future CSS syntax, inline images, and more.
  2. •  Fast •  自己寫 plugin •  標準的 CSS 寫法 • 

    模組化 * Postcss – nested + postcss – simple – var + postcss – calc + postcss - mixins
  3. PostCSS 歷史 Rework (2012) Modular CSS preprocessing with rework TJ

    Holowaychuk hGps://github.com/reworkcss/rework
  4. •  Custom properties & var () •  Custom properties set

    & apply () •  Custom selectors •  Color funcQon
  5. It is time admit my mistakes. “Postprocessor” term was bad.

    PostCSS team stoped to use Andery Sitnik
  6. Reference •  repository  https://github.com/reworkcss/rework •  官網 http://cssnext.io/ •  文章

    http://huli.logdown.com/posts/262723-experiences-what-is-postcss https://www.ibm.com/developerworks/cn/web/1604-postcss-css/ http://www.zendei.com/article/11287.html http://www.w3cplus.com/blog/tags/516.html?page=1 •  簡報 https://speakerdeck.com/jmblog/postcss-tohahe-ka https://speakerdeck.com/liviamorim/descobrindo-o-futuro-do-css- com-cssnext https://speakerdeck.com/morishitter