!important on css classes
-
Hi,
it’s bad practice to use !important in css. it’s worse to use it on global class names as bellow:
.hidden { display: none !important; }
.hidden is widely used class name for many css frameworks. and it has responsive dependencies. This !important usage makes that functionality to break.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘!important on css classes’ is closed to new replies.