aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2021-04-14 13:23:16 -0700
committerMark Otto <[email protected]>2021-04-14 13:29:47 -0700
commit84b8eda5d6b7d3c021c22d30da52e222eee60e38 (patch)
tree1d17bbf2497011d679b2ab7af30930584e24cccc /site
parent80085a12f6936bef11aa72631392e3e9b2646f17 (diff)
downloadbootstrap-84b8eda5d6b7d3c021c22d30da52e222eee60e38.tar.xz
bootstrap-84b8eda5d6b7d3c021c22d30da52e222eee60e38.zip
Correct the heading for the States section
Diffstat (limited to 'site')
-rw-r--r--site/content/docs/5.0/utilities/api.md2
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 ecd80af5b..6610f9ee0 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.