Sometimes you wish to create styling for a specific website or store, and have it not be dependent upon the current theme. This module adds the website and store codes of Magento to the body class attribute, allowing you to target your CSS to a specific website or store.
composer require markshust/magento2-module-extrabodyclasses
bin/magento module:enable MarkShust_ExtraBodyClasses
bin/magento setup:upgrade
This module has no configuration. Just install and flush the cache, and you should see the new classes added to the body HTML attribute.