Skip to content

Commit

Permalink
Merge pull request #29 from BrianCS/patch-1
Browse files Browse the repository at this point in the history
Add note on SCSS' overloaded rgba() function
  • Loading branch information
mdo committed Apr 15, 2015
2 parents dcbbfc9 + 5eaca69 commit 2d70ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Make use of `<thead>`, `<tfoot>`, `<tbody>`, and `<th>` tags (and `scope` attrib

### Formatting

* Use hex color codes `#000` unless using `rgba()`.
* Use hex color codes `#000` unless using `rgba()` in raw CSS (SCSS' `rgba()` function is overloaded to accept hex colors as a param, e.g., `rgba(#000, .5)`).
* Use `//` for comment blocks (instead of `/* */`).
* Avoid specifying units for zero values, e.g., `margin: 0;` instead of `margin: 0px;`.
* Strive to limit use of shorthand declarations to instances where you must explicitly set all the available values.
Expand Down

0 comments on commit 2d70ae5

Please sign in to comment.