PLDB
Languages Features Calendar CSV Lists Blog About Donate Add Language
GitHub icon

PostCSS

< >

PostCSS is a text markup language created in 2013.

#219on PLDB 10Years Old 31.1kUsers
0Books 0Papers 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
nextflow.html · postcss.html · pony.html

View source

PLDB - Build the next great programming language · v2023 · Day 153 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com