From: Mark Otto Date: Wed, 14 Apr 2021 20:23:16 +0000 (-0700) Subject: Correct the heading for the States section X-Git-Tag: v5.0.0~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84b8eda5d6b7d3c021c22d30da52e222eee60e38;p=thirdparty%2Fbootstrap.git Correct the heading for the States section --- 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.