Present day CSS now has @container queries support for sizing and shortly also type & condition, Which in essence means a native way for an if/else issue. Beneath is an incredibly simplified instance. But nobody retains you from using Javascript to alter the DOM or assigning lessons dynamically as well https://freebookmarkpost.com/story19247311/the-best-side-of-prestashop-popup-youtube-video-colorbox-on-all-pages