Jump to content

Stylus (style sheet language)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 2a01:e34:efb5:a770:457a:c405:6625:131a (talk) at 21:21, 12 November 2015. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Stylus
DeveloperLearnBoost
First appeared2010
Stable release
0.52.4 / September 4, 2015 (2015-09-04)
Typing disciplinedynamic
OSCross-platform
LicenseMIT License
Filename extensions.styl
WebsiteStylus
Influenced by
CSS, Sass, LESS

Stylus is a dynamic stylesheet language, its design influenced by Sass and LESS. It's regarded as the third most used CSS preprocessor syntax.[1]

Example

body
  font 12px Helvetica, Arial, sans-serif

a.button
  -webkit-border-radius 5px
  -moz-border-radius 5px
  border-radius 5px

References