搜索内容

stylus-en
  • Stylus JavaScript API

    本文是《CSS框架》系列文章第 1篇 (共 41 篇) Simply require the module, and call render() with the given string of Stylus code, a……
    田田 stylus-en 2021年1月6日
  • Stylus Introspection API

    本文是《CSS框架》系列文章第 2篇 (共 41 篇) Stylus supports an introspection API. This allows mixins and functions to reflect relative to the caller……
    yiyan stylus-en 2021年1月5日
  • Stylus Executable

    本文是《CSS框架》系列文章第 1篇 (共 41 篇) Stylus ships with the stylus executable for converting Stylus to CSS. Usage: stylus [opti……
    丹青 stylus-en 2021年1月4日
  • Stylus @extend

    本文是《CSS框架》系列文章第 2篇 (共 41 篇) The Stylus @extend directive is inspired by (and essentially the same as) the SASS Implem……
    田田 stylus-en 2021年1月3日
  • Stylus @keyframes

    本文是《CSS框架》系列文章第 3篇 (共 41 篇) Stylus supports @keyframes both with curly braces or without them, you can also use interpolat……
    老王 stylus-en 2021年1月2日
  • Stylus @media

    本文是《CSS框架》系列文章第 13篇 (共 41 篇) The @media queries work just as they do within regular CSS, but with Stylus’s block notation:……
    中天 stylus-en 2021年1月1日
  • Stylus @import and @require

    本文是《CSS框架》系列文章第 篇 (共 41 篇) Stylus supports both literal @import for CSS, as well as dynamic importing or requiring of othe……
    丹青 stylus-en 2020年12月31日
  • Stylus Iteration

    本文是《CSS框架》系列文章第 4篇 (共 41 篇) Stylus allows you to iterate expressions via the for/in construct, taking the form of: fo……
    bigao stylus-en 2020年12月30日
  • Stylus Hashes

    本文是《CSS框架》系列文章第 5篇 (共 41 篇) In 0.39.0 version Stylus got hash objects. Define You can define a hash using the curly ……
    老王 stylus-en 2020年12月29日
  • Stylus Conditionals

    本文是《CSS框架》系列文章第 7篇 (共 41 篇) Conditionals provide control flow to a language which is otherwise static, providing conditional imports……
    bigao stylus-en 2020年12月28日
  • Stylus Comments

    本文是《CSS框架》系列文章第 9篇 (共 41 篇) Stylus supports three kinds of comments: single-line, and multi-line comments, and multi-line buffered c……
    中天 stylus-en 2020年12月27日
  • Stylus Rest Params

    本文是《CSS框架》系列文章第 6篇 (共 41 篇) Stylus supports rest parameters in the form of name.... These params consume the remaining argument……
    丹青 stylus-en 2020年12月26日
  • Stylus Keyword Arguments

    本文是《CSS框架》系列文章第 11篇 (共 41 篇) Stylus supports keyword arguments, or “kwargs”. These allow you to reference arguments by their associa……
    yiyan stylus-en 2020年12月25日
  • Stylus Mixins

    本文是《CSS框架》系列文章第 5篇 (共 41 篇) Both mixins and functions are defined in the same manner, but they are applied in different ways. For……
    小杜 stylus-en 2020年12月24日
  • Stylus Interpolation

    本文是《CSS框架》系列文章第 8篇 (共 41 篇) Stylus supports interpolation by using the {} characters to surround an expression, which then……
    中天 stylus-en 2020年12月23日
  • 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-en 2020年12月21日
  • Stylus Selectors

    本文是《CSS框架》系列文章第 25篇 (共 41 篇) Indentation Stylus is “pythonic” (i.e. indentation-based). Whitespace is significant, so we substitu……
    嘿哈 stylus-en 2020年11月22日