Use CSS selectors to target HTML features
Learn how to target HTML feature rules using CSS selectors, which simplifies rule application without Comment Tags and ensures compatibility across your site.
You can target HTML feature rules on your site without using Comment Tags. This can be an easier method for teams with limited access to the website CMS, and works on any page in your site that contains the specified CSS Selector.
For example, the following illustration shows an area of a demo site that uses a CSS Selector of
div.article-content
around the body:
When you create the feature rule for this area, select the CSS Selector radio button and enter div.article-content in the CSS Selector text box, as illustrated in the following image: