This is not a class, you are faced with the so-called attribute selector . It corresponds to each html element that has this attribute, regardless of value. That is, <section text-uppercase="true"> , <div text-uppercase="something"> , <nav text-uppercase> ...
See the link in the link above for more complex use cases.
[text-uppercase] { text-transform: uppercase; }
<span text-uppercase>hello</span>
source share