mirror of
https://github.com/zh-google-styleguide/zh-google-styleguide.git
synced 2025-02-19 20:50:10 +08:00
add css_meta_rules.rst
This commit is contained in:
parent
742127af7d
commit
cfa642cf7e
28
google-html-css-styleguide/css_meta_rules.rst
Normal file
28
google-html-css-styleguide/css_meta_rules.rst
Normal file
@ -0,0 +1,28 @@
|
||||
CSS元规则
|
||||
===========
|
||||
|
||||
分段规则
|
||||
----------
|
||||
|
||||
组的分段由一段注释完成(可选)。
|
||||
|
||||
尽可能地用注释来将css分段,段与段之间采用新行。
|
||||
|
||||
.. code-block:: css
|
||||
|
||||
/* Header */
|
||||
|
||||
|
||||
#adw-header {}
|
||||
|
||||
|
||||
/* Footer */
|
||||
|
||||
|
||||
#adw-footer {}
|
||||
|
||||
|
||||
/* Gallery */
|
||||
|
||||
|
||||
.adw-gallery {}
|
Loading…
Reference in New Issue
Block a user