为什么一定要加important呢 直接把后面的删了不行吗 需要什么格式就去设置 何必要多后面的代码呢?
phpcn_u251
phpcn_u251 2016-12-21 15:55:50
0
2
1322

为什么一定要加important呢  直接把后面的删了不行吗  需要什么格式就去设置 何必要多后面的代码呢?

phpcn_u251
phpcn_u251

reply all(2)
数据分析师

Why do you have to add important? Can't you just delete the following one? Just set the format you need. Why do you need more code behind it? -PHP Chinese website Q&A-Why do you have to add important? Can't you just delete the following one? Just set the format you need. Why do you need more code behind it? -PHP Chinese website Q&A

Please watch and learn.

阿神

CSS讲究重复利用和格式统一,这是一种不怎么被推荐的特殊情况

合理情形之一:有时候我也会包含一些你无法修改的html,如来自第三方服务的新闻源,如果这些html中有些内连样式与你的设计不符合,,你就可以使用!important来覆盖这些样式。

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template