9.2.2 CSS语法

CSS基础语法

CSS语法可以分为两部分:

  1. 选择器

  2. 声明

声明由属性和值组成,多个声明之间用分号分隔。

CSS语法

CSS注释

注释是代码之母。

/*这是注释*/

Last updated

Was this helpful?