搜索内容

包含标签:CSS预处理框架 的文章
  • Stylus JavaScript API

    Simply require the module, and call render() with the given string of Stylus code, and (optional) options object. ……
    田田 stylus-en 2021年1月6日
  • Stylus Introspection API

    Stylus supports an introspection API. This allows mixins and functions to reflect relative to the caller, etc. mixin The mixin loca……
    yiyan stylus-en 2021年1月5日
  • Stylus Executable

    Stylus ships with the stylus executable for converting Stylus to CSS. Usage: stylus [options] [command] [< in [> out]] ……
    丹青 stylus-en 2021年1月4日
  • Stylus @extend

    The Stylus @extend directive is inspired by (and essentially the same as) the SASS Implementation, with few subtle differences. This……
    田田 stylus-en 2021年1月3日
  • Stylus @keyframes

    Stylus supports @keyframes both with curly braces or without them, you can also use interpolation both in names or steps of @keyframes: ……
    老王 stylus-en 2021年1月2日
  • Stylus @media

    The @media queries work just as they do within regular CSS, but with Stylus’s block notation: @media print #header #footer ……
    中天 stylus-en 2021年1月1日
  • Stylus @import and @require

    Stylus supports both literal @import for CSS, as well as dynamic importing or requiring of other Stylus sheets. Literal CSS Any fil……
    丹青 stylus-en 2020年12月31日
  • Stylus Iteration

    Stylus allows you to iterate expressions via the for/in construct, taking the form of: for <val-name> [, <key-name>] in <ex……
    bigao stylus-en 2020年12月30日
  • Stylus Hashes

    In 0.39.0 version Stylus got hash objects. Define You can define a hash using the curly braces and colons to divide the keys and va……
    老王 stylus-en 2020年12月29日
  • Stylus Conditionals

    Conditionals provide control flow to a language which is otherwise static, providing conditional imports, mixins, functions, and more. The examples……
    bigao stylus-en 2020年12月28日
  • Stylus Comments

    Stylus supports three kinds of comments: single-line, and multi-line comments, and multi-line buffered comments. Single-line Single-line comm……
    中天 stylus-en 2020年12月27日
  • Stylus Rest Params

    Stylus supports rest parameters in the form of name.... These params consume the remaining arguments passed to a mixin or function. This is us……
    丹青 stylus-en 2020年12月26日
  • Stylus Keyword Arguments

    Stylus supports keyword arguments, or “kwargs”. These allow you to reference arguments by their associated parameter name. The examples shown be……
    yiyan stylus-en 2020年12月25日
  • Stylus Mixins

    Both mixins and functions are defined in the same manner, but they are applied in different ways. For example, we have a border-radius(n)&n……
    小杜 stylus-en 2020年12月24日
  • Stylus Interpolation

    Stylus supports interpolation by using the {} characters to surround an expression, which then becomes part of the identifier. For exampl……
    中天 stylus-en 2020年12月23日
  • Stylus Expressive, dynamic, robust CSS

    CSS needs a hero body { font: 12px Helvetica, Arial, sans-serif; } a.button { -webkit-border-radius: 5px; -moz-border-radius: 5px; borde……
    中天 stylus-en 2020年12月21日
  • Stylus TextMate Bundle

    Stylus ships with a TextMate bundle, located within ./editors. To install, simply execute make install-bundle, or place ./editors/Sty……
    老王 stylus-zh 2020年12月20日
  • Stylus FireStylus extension for Firebug

    FireStylus is a Firebug extension that makes Firebug display the Stylus filename and line numbers of the Stylus-generated CSS styles rather than th……
    yiyan stylus-zh 2020年12月19日
  • Stylus Implementation Comparisons

    Below we go head to head with other implementations. 变量(Variables) SCSS: $main-color: #006; color: $main-color; Less: @main-color……
    丹青 stylus-zh 2020年12月18日
  • Stylus Sourcemaps

    Stylus supports basic sourcemaps according to the Sourcemap v3 spec Create a sourcemap Pass the --sourcemap flag (or -m) ……
    阿喜 stylus-zh 2020年12月17日
  • Stylus 块(@block)

    您可以将Stylus中的任何代码块赋值给变量,然后调用它,作为参数传递或以任何其他方式重用。 To define a block, either write it down with an increased……
    yiyan stylus-zh 2020年12月16日
  • Stylus 其他 @-rules

    Stylus支持大多数的CSS @规则, 如 @viewport, @page, @host, @supports 以及其他@规则,在Stylus中使用@规则可以省略花括号({}): ……
    小杜 stylus-zh 2020年12月15日
  • JavaScript API

    JavaScript API require模块,用给定的Stylus代码字符串调用render(),以及(可选的)optional对象。 传递filename参数可以利用Stylus框架提供更好的错误报告……
    中天 stylus-zh 2020年12月15日
  • stylus 自检API(Introspection API)

    自检API Stylus支持自我检测的API, 这允许混写以及函数反应调用者的相关性。 混写(mixin) mixin这个局部变量在函数体内自动赋值。如果调用的函数在根级别,则m……
    bigao stylus-zh 2020年12月14日
  • stylus 连接中间件(Connect Middleware)

    连接中间件 有了连接中间件,无论Stylus片段什么时候改变,这些片段都能够自动编译。 stylus.middleware(options) 选项 返回给定options下的连接中间件。 `ser……
    中天 stylus-zh 2020年12月13日