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
CSC307 Lecture 01
javiergs
PRO
0
690
dchart: charts from deck markup
ajstarks
3
990
Patterns of Patterns
denyspoltorak
0
1.4k
Implementation Patterns
denyspoltorak
0
280
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
20
6.8k
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
180
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
Package Management Learnings from Homebrew
mikemcquaid
0
210
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
510
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
150
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
40
2.2k
For a Future-Friendly Web
brad_frost
182
10k
Darren the Foodie - Storyboard
khoart
PRO
2
2.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.1k
エンジニアに許された特別な時間の終わり
watany
106
230k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
160
Believing is Seeing
oripsolob
1
53
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
130
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
63
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
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