禁用或重置CSS规则 [英] Disable or reset a CSS rule
本文介绍了禁用或重置CSS规则的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果使用 top:0;
定义一个CSS规则,那么如何稍后禁用或中和它以支持 bottom:0; code>在其他地方使用?
If define a CSS rule with top: 0;
, how can I later disable or neutralise it in favor of bottom: 0;
used elsewhere?
推荐答案
bottom:0; - auto
是 top
do top: auto; bottom:0;
- auto
is the default value for top
这篇关于禁用或重置CSS规则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文