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
Leading Effective Engineering Teams in the AI Era
addyosmani
7
580
Catch Up: Go Style Guide Update
andpad
0
240
CSC509 Lecture 07
javiergs
PRO
0
240
iOSでSVG画像を扱う
kishikawakatsumi
0
160
CSC305 Lecture 06
javiergs
PRO
0
270
When Dependencies Fail: Building Antifragile Applications in a Fragile World
selcukusta
0
110
Google Opalで使える37のライブラリ
mickey_kubo
3
130
技術的負債の正体を知って向き合う
irof
0
230
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
410
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.1k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
420
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
360
Featured
See All Featured
Bash Introduction
62gerente
615
210k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
The World Runs on Bad Software
bkeepers
PRO
72
11k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Building Adaptive Systems
keathley
44
2.8k
Designing for Performance
lara
610
69k
Six Lessons from altMBA
skipperchong
29
4k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
190
55k
GitHub's CSS Performance
jonrohan
1032
470k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Context Engineering - Making Every Token Count
addyosmani
8
300
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