In the past, I would use display:none
to hide the obsolete features. But just in case it is overwritten by order of occurrence of styles, I use the following class to make sure that it stays hidden by zero-ing the dimension as well.
.obsoletes{display:none!important;height:0!important;width:0!important;overflow:hidden!important;visibility:hidden!important;position:absolute!important}
https://vanillawebdev.blogspot.com/2024/03/hiding-obsolete-features-with-css.html
https://www.blogger.com/blog/post/edit/8166404610182826392/5467950434344604412
https://www.blogger.com/blog/page/edit/8166404610182826392/5467950434344604412
Hiding Obsoletes Features with CSS
March 22, 2024
In the past, I would use display:none
to hide the obsolete features. But just in case it is overwritten by order of occurrence of styles, I use the following class to make sure that it stays hidden by zero-ing the dimension as well.
.obsoletes{display:none!important;height:0!important;width:0!important;overflow:hidden!important;visibility:hidden!important;position:absolute!important}
Comments
Post a Comment