1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[Sass] Be more consistent about what we call 'rules' and what we call 'selectors.'

This commit is contained in:
Nathan Weizenbaum 2009-06-19 03:51:35 -07:00
parent 282009c85d
commit d840214fc8
2 changed files with 4 additions and 6 deletions

2
TODO
View file

@ -4,8 +4,6 @@
* Documentation
Redo tutorial?
[2.4] Syntax highlighting?
** Sass
CSS Terminology (https://mail.google.com/mail/#label/Haml/1202d75234b3ce6b)
** FAQ
form_for needs -, not =

View file

@ -212,7 +212,7 @@ For example:
<property>
...
Like CSS, you can stretch rules over multiple lines.
Like CSS, you can stretch selectors over multiple lines.
However, unlike CSS, you can only do this if each line but the last
ends with a comma.
For example:
@ -307,7 +307,7 @@ is compiled to:
#main pre {
font-size: 3em; }
### Referencing Parent Rules: `&`
### Referencing Parent Selectors: `&`
In addition to the default behavior of inserting the parent selector
as a CSS parent of the current selector
@ -383,9 +383,9 @@ is compiled to:
font-size: 30em;
font-weight: bold; }
### Rule Escaping: `\`
### Selector Escaping: `\`
In case, for whatever reason, you need to write a rule
In case, for whatever reason, you need to write a selector
that begins with a Sass-meaningful character,
you can escape it with a backslash (`\`).
For example: