stylus-en
-
Stylus JavaScript API
本文是《CSS框架》系列文章第 1篇 (共 41 篇) Simply require the module, and call render() with the given string of Stylus code, a…… -
Stylus Introspection API
本文是《CSS框架》系列文章第 2篇 (共 41 篇) Stylus supports an introspection API. This allows mixins and functions to reflect relative to the caller…… -
Stylus Executable
本文是《CSS框架》系列文章第 1篇 (共 41 篇) Stylus ships with the stylus executable for converting Stylus to CSS. Usage: stylus [opti…… -
Stylus @extend
本文是《CSS框架》系列文章第 2篇 (共 41 篇) The Stylus @extend directive is inspired by (and essentially the same as) the SASS Implem…… -
Stylus @keyframes
本文是《CSS框架》系列文章第 3篇 (共 41 篇) Stylus supports @keyframes both with curly braces or without them, you can also use interpolat…… -
Stylus @media
本文是《CSS框架》系列文章第 13篇 (共 41 篇) The @media queries work just as they do within regular CSS, but with Stylus’s block notation:…… -
Stylus @import and @require
本文是《CSS框架》系列文章第 篇 (共 41 篇) Stylus supports both literal @import for CSS, as well as dynamic importing or requiring of othe…… -
Stylus Iteration
本文是《CSS框架》系列文章第 4篇 (共 41 篇) Stylus allows you to iterate expressions via the for/in construct, taking the form of: fo…… -
Stylus Hashes
本文是《CSS框架》系列文章第 5篇 (共 41 篇) In 0.39.0 version Stylus got hash objects. Define You can define a hash using the curly …… -
Stylus Conditionals
本文是《CSS框架》系列文章第 7篇 (共 41 篇) Conditionals provide control flow to a language which is otherwise static, providing conditional imports…… -
Stylus Comments
本文是《CSS框架》系列文章第 9篇 (共 41 篇) Stylus supports three kinds of comments: single-line, and multi-line comments, and multi-line buffered c…… -
Stylus Rest Params
本文是《CSS框架》系列文章第 6篇 (共 41 篇) Stylus supports rest parameters in the form of name.... These params consume the remaining argument…… -
Stylus Keyword Arguments
本文是《CSS框架》系列文章第 11篇 (共 41 篇) Stylus supports keyword arguments, or “kwargs”. These allow you to reference arguments by their associa…… -
Stylus Mixins
本文是《CSS框架》系列文章第 5篇 (共 41 篇) Both mixins and functions are defined in the same manner, but they are applied in different ways. For…… -
Stylus Interpolation
本文是《CSS框架》系列文章第 8篇 (共 41 篇) Stylus supports interpolation by using the {} characters to surround an expression, which then…… -
Stylus Expressive, dynamic, robust CSS
本文是《CSS框架》系列文章第 12篇 (共 41 篇) CSS needs a hero body { font: 12px Helvetica, Arial, sans-serif; } a.button { -webkit-border-rad…… -
Stylus Selectors
本文是《CSS框架》系列文章第 25篇 (共 41 篇) Indentation Stylus is “pythonic” (i.e. indentation-based). Whitespace is significant, so we substitu……