炫意html5
最早CSS3和HTML5移动技术网站之一

Stylus Comments

本文是《CSS框架》系列文章第 9篇 (共 41 篇)

Stylus supports three kinds of comments: single-line, and multi-line comments, and multi-line buffered comments.

Single-line

Single-line comments look like JavaScript comments, and do not output in the resulting CSS:

// I'm a comment!
body
  padding 5px // some awesome padding

Multi-line

Multi-line comments look identical to regular CSS comments. However, they only output when the compress option is not enabled.

/*
 * Adds the given numbers together.
 */

add(a, b)
  a + b

Multi-line buffered

Multi-line comments which are not suppressed start with /*!. This tells Stylus to output the comment regardless of compression.

/*!
 * Adds the given numbers together.
 */

add(a, b)
  a + b
<< Stylus InterpolationStylus TextMate Bundle >>

炫意HTML5 » Stylus Comments

Java基础教程Android基础教程