Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PostCSS brief intro
Search
vagusX
April 10, 2015
Programming
3
330
PostCSS brief intro
PosrCSS
vagusX
April 10, 2015
Tweet
Share
Other Decks in Programming
See All in Programming
JavaでLチカしたい! / JJUG CCC 2024 Fall LT
nhayato
0
130
C++でシェーダを書く
fadis
6
4.1k
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
170
macOS でできる リアルタイム動画像処理
biacco42
9
2.3k
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
24k
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
1k
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
160
TypeScriptでライブラリとの依存を限定的にする方法
tutinoko
2
550
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
320
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
170
PLoP 2024: The evolution of the microservice architecture pattern language
cer
PRO
0
2.6k
推し活の ハイトラフィックに立ち向かう Railsとアーキテクチャ - Kaigi on Rails 2024
falcon8823
6
2.8k
Featured
See All Featured
A better future with KSS
kneath
238
17k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Building an army of robots
kneath
302
42k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Being A Developer After 40
akosma
86
590k
Building Applications with DynamoDB
mza
90
6.1k
Transcript
PostCSS the Future after Sass and Less more than JS
functions
PostCSS Users
PostCSS the Future after Sass and Less itself and plugins:
nothing more than JS functions
PostCSS Differs from Preprocessors • Performance • Modularity
PostCSS written in JS itself is very small and fast
one of the fastest CSS parsers PostCSS processing is 40 times faster than Ruby Sass compilation
custom-properties `postcss-simple-vars` like Sass-like variables. `postcss-custom-properties` closer to W3C spec
`postcss-nested`
`postcss-mixins`
Modularity Each plugin is an independent module Flexibility Powerful add
only those features that you want
PostCSS 70+ plugins RTLCSS AtCSS Autoprefixer CSSGrace and more @
https://github.com/postcss/postcss#plugins
Autoprefixer postprocessor for CSS Write your CSS rules without vendor
prefixes http://simevidas.jsbin.com/gufoko/quiet https://github.com/ai/browserslist#queries https://github.com/postcss/autoprefixer/wiki/support-list https://github.com/postcss/autoprefixer-core/tree/master/lib/hacks http://caniuse.com https://gist.github.com/vagusX/54c5bb5ebf1798f7bba0
None
write future CSS Write standard CSS syntax non-implemented yet in
browsers like calc,custom properties, custom media, color functions, etc. Including autoprefixer CSS3 available https://cssnext.github.io/cssnext-playground/
CSSGrace Write brief,elegant,future-oriented CSS. Handle some IE hacks like opacity,
rgba, inline-block, etc From now on
None
CSSGrace Automatic generation of 2x background compatible code Get the
background image's width or height Position:center polyfill Repair of common errors Missing property auto completion
None
AtCSS transform CSS according to special annotation comments
None
more and on https://github.com/postcss/postcss#plugins Thank you