Measures Concepts
GitHub icon

PostCSS

PostCSS - Text markup language

< >

PostCSS is an open source text markup language created in 2013.

Source code:
git clone https://github.com/postcss/postcss
#209on PLDB 11Years Old 0Repos

Transforming styles with JS plugins


Example from hello-world:
body::before { content: "Hello World"; }
Example from Linguist:
@define-mixin size $size { width: $size; } $big: 100px; /* Main block */ .block { &_logo { background: inline("./logo.png"); @mixin size $big; } }

Language features

Feature Supported Token Example
Strings ✓ "
"Hello world"
Comments ✓
/* A comment
*/
MultiLine Comments ✓ /* */
/* A comment
*/
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout