Disable or reset a CSS rule
If define a CSS rule with top: 0;
, how can I later disable or neutralise it in favor of bottom: 0;
used elsewhere?
do top: auto; bottom:0;
- auto
is the default value for top
top: auto;
bottom: 0px;
if you have the stretch issue just use initial to reset the rule
top: initial;
or
bottom: initial;