Document backslash-escapes in Sass.

This commit is contained in:
Nathan Weizenbaum 2008-05-29 11:59:24 -07:00
parent 2ebb1966e4
commit 4aea1f6d34
1 changed files with 16 additions and 0 deletions

View File

@ -253,6 +253,22 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
# font-size: 30em;
# font-weight: bold; }
#
# === Rule Escaping
#
# In case, for whatever reason, you need to write a rule
# that begins with a Sass-meaningful character,
# you can escape it with a backslash (<tt>\</tt>).
# For example:
#
# #main
# \+div
# clear: both
#
# is compiled to:
#
# #main +div {
# clear: both; }
#
# == Constants
#
# Sass has support for setting document-wide constants.