Correct the heading for the States section

This commit is contained in:
Mark Otto 2021-04-14 13:23:16 -07:00 committed by Mark Otto
parent 80085a12f6
commit 84b8eda5d6

View File

@ -83,7 +83,7 @@ Output:
.o-100 { opacity: 1; } .o-100 { opacity: 1; }
``` ```
## States ### States
Use the `state` option to generate pseudo-class variations. Example pseudo-classes are `:hover` and `:focus`. When a list of states are provided, classnames are created for that pseudo-class. For example, to change opacity on hover, add `state: hover` and you'll get `.opacity-hover:hover` in your compiled CSS. Use the `state` option to generate pseudo-class variations. Example pseudo-classes are `:hover` and `:focus`. When a list of states are provided, classnames are created for that pseudo-class. For example, to change opacity on hover, add `state: hover` and you'll get `.opacity-hover:hover` in your compiled CSS.