Stylus is a dynamic stylesheet preprocessor language that is compiled into Cascading Style Sheets (CSS).
[3] It was created by TJ Holowaychuk, a former programmer for Node.js and the creator of the Luna language.
Unlike CSS, which uses braces to open and close declaration blocks, indentation is used.
The Stylus compiler would translate the above document to: Both mixins and functions are defined in the same manner, but they are applied in different ways.
For example, if you wanted to define the CSS border radius property without having to use various Vendor Prefixes you can create: then, to include this as a mixin, you would reference it as: this would compile to: