Using PostCSS and cssnext

preview_player
Показать описание
*Note: Although the example in the screencast works fine, turns out you don't need the postcss-import or autoprefixer modules loaded separately, as they come bundled with cssnext. Curse my stupid brains.

Using PostCSS and cssnext in lieu of LESS/SASS/Stylus/etc. Inspired by:

Blog post with gulpfile:
Рекомендации по теме
Комментарии
Автор

Hi,

cssnext will use this option to enable or disable all features depending on your browser support!

_MoOx_
Автор

Very nice video. I'm on the tail end of moving over to postcss. LOL. I've been using Sass for awhile now, which i like but dislike the compiles times. thanks for the straight forward overview.

lancenickel
Автор

Good job man! Do you know any good workflows with webpack and pcss?

NikosKatsikanis
Автор

I understand the usefulness of --heading, but I don't get that it creates 2 times div h1 ---- h6, one with color: blue and the other one with font-weight: bold... Why doesn't it merges them into one? That, in the end, creates more lines of code, no?

MehdiBouhalassa