Here's some code that I a short while ago wrote. I believe it offers a simple rationalization of mixing class/ID names with pseudoclasses. The exact same trick can be carried out with just the 1st line, but the benefit of defining multiple outlines is you get a visual clue by https://www.presta-addons-modules.com/en/front-office/prestashop-custom-responsive-banners-on-interval.html