What are CSS selectors

Our Javascript SDK works with standard CSS selectors that you can learn about anywhere else. We won’t try to explain in detail about CSS selectors, because they require a bit of HTML knowledge, but a short explanation is required:

In CSS, selectors are patterns used to select the element(s) you want to style.

Classes: They look like .class-name and can be multiple results on one page

Element ID: They look like #element-id and only one element should be found on a page.

To learn more about CSS selectors visit these resources: test



Related Articles