搜索内容

中天 的文章
  • 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 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 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日
  • JavaScript API

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

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

    字面量CSS 不管什么原因,如果遇到Stylus搞不定的特殊需求,你可以使用@css使其作为CSS字面量解决之。 @css { body { font: 14px; } } 编译为: body { font: ……
    中天 stylus-zh 2020年12月10日