diff options
author | Mark Otto <markdotto@gmail.com> | 2021-04-14 23:23:16 +0300 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2021-04-14 23:29:47 +0300 |
commit | 84b8eda5d6b7d3c021c22d30da52e222eee60e38 (patch) | |
tree | 1d17bbf2497011d679b2ab7af30930584e24cccc /site | |
parent | 80085a12f6936bef11aa72631392e3e9b2646f17 (diff) |
Correct the heading for the States section
Diffstat (limited to 'site')
-rw-r--r-- | site/content/docs/5.0/utilities/api.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/5.0/utilities/api.md b/site/content/docs/5.0/utilities/api.md index ecd80af5b9..6610f9ee00 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. |