CSS Selectors with double dash

Viewed 686

I am trying to understand CSS selectors that include a double dash (e.g. .header-module--socialHeaderButton--1BLVB) that are generated through react.js and behave differently from standard CSS selectors. I am hoping someone has some documentation on it that explains how to use this properly?

1 Answers

There's no special meaning or behaviour in CSS. That just matches a class name with sequential hyphen characters in it.

Related