mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-27 14:01:32 +08:00
commit
c53b03d9a1
@ -87,7 +87,7 @@ As of v3.2.0, Font Awesome's CSS, LESS, SCSS, and documentation are all powered
|
|||||||
|
|
||||||
- Adhere to the [Recess CSS property order](http://markdotto.com/2011/11/29/css-property-order/)
|
- Adhere to the [Recess CSS property order](http://markdotto.com/2011/11/29/css-property-order/)
|
||||||
- Multiple-line approach (one property and value per line)
|
- Multiple-line approach (one property and value per line)
|
||||||
- Always a space after a property's colon (.e.g, `display: block;` and not `display:block;`)
|
- Always a space after a property's colon (e.g., `display: block;` and not `display:block;`)
|
||||||
- End all lines with a semi-colon
|
- End all lines with a semi-colon
|
||||||
- For multiple, comma-separated selectors, place each selector on its own line
|
- For multiple, comma-separated selectors, place each selector on its own line
|
||||||
- Attribute selectors, like `input[type="text"]` should always wrap the attribute's value in double quotes, for consistency and safety (see this [blog post on unquoted attribute values](http://mathiasbynens.be/notes/unquoted-attribute-values) that can lead to XSS attacks)
|
- Attribute selectors, like `input[type="text"]` should always wrap the attribute's value in double quotes, for consistency and safety (see this [blog post on unquoted attribute values](http://mathiasbynens.be/notes/unquoted-attribute-values) that can lead to XSS attacks)
|
||||||
|
Loading…
Reference in New Issue
Block a user