* {color:red;} 与 body{color:red;}有什么区别?
男神
男神 2016-12-19 13:11:17
0
2
1162
男神
男神

╰つ ゛思 绪 万 千 , 不 如 努 力 向 前 .ヽ

reply all(2)
数据分析师

What is the difference between

* {color:red;} and body{color:red;}? -PHP Chinese website Q&A-What is the difference between * {color:red;} and body{color:red;}? -PHP Chinese website Q&A

Please watch and learn.

迷茫

* {color:red;}的作用域为整个网页,而body{color:red;}的作用域只有<body>包含的内容</body>标签里边的元素

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!