Skip to main content

What is a dynamic CSS selector?

For context, CSS is what most webpages use "behind the scenes" to specify the styles that determine a website's design and layout.

Some web frameworks dynamically generate CSS classes to apply these styles. This means that CSS selectors may change every time a user accesses your product or site

What that means for you, is that if you choose to highlight an element or place a trigger with a dynamic CSS selector, the widget or trigger might not reliably appear because the CSS selector might have changed. 

In a nutshell, dynamic CSS selectors can cause the experience to not appear for your end users.