From a52f94492d25e1baceb0041f68037b3d5059b9f1 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 14 Apr 2021 13:23:16 -0700 Subject: [PATCH] Correct the heading for the States section --- site/content/docs/5.0/utilities/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/5.0/utilities/api.md b/site/content/docs/5.0/utilities/api.md index ecd80af5b93a..6610f9ee0084 100644 --- a/site/content/docs/5.0/utilities/api.md +++ b/site/content/docs/5.0/utilities/api.md @@ -83,7 +83,7 @@ Output: .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.