CSS * 选择器
更多“自己尝试”的例子见下文。
定义和用法
The *
selector selects all elements.
The * selector can also select all elements inside another element (See "More Examples").
版本 | CSS2 |
---|
浏览器支持
表格中的数字表示首次完全支持该选择器的浏览器版本。
选择器 | |||||
---|---|---|---|---|---|
* | 4.0 | 7.0 | 2.0 | 3.1 | 9.6 |
CSS 语法
更多“自己尝试”的例子见下文。
The *
selector selects all elements.
The * selector can also select all elements inside another element (See "More Examples").
版本 | CSS2 |
---|
表格中的数字表示首次完全支持该选择器的浏览器版本。
选择器 | |||||
---|---|---|---|---|---|
* | 4.0 | 7.0 | 2.0 | 3.1 | 9.6 |
如果您想将 W3Schools 服务用于教育机构、团队或企业,请发送电子邮件给我们
sales@w3schools.com
如果您想报告错误,或想提出建议,请发送电子邮件给我们
help@w3schools.com