]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Explicitly add missing opacity-0 helper class example for clarity.
authorBenedikt Willi <mail@benediktwilli.ch>
Mon, 19 Jun 2023 08:50:44 +0000 (10:50 +0200)
committerMark Otto <markdotto@gmail.com>
Sun, 25 Jun 2023 21:47:15 +0000 (14:47 -0700)
Add a missing opacity-0 helper class example. From existing examples, it wasn't obvious to me that this class exists. This commit makes it a bit more explicit.

site/content/docs/5.3/utilities/opacity.md

index 5d253a77ca5669cdd896861756f37d6db03c79c9..891b46b8fb398408becc64bc819fc94c91eb579f 100644 (file)
@@ -15,6 +15,7 @@ Set the `opacity` of an element using `.opacity-{value}` utilities.
   <div class="opacity-75 p-3 m-2 bg-primary text-light fw-bold rounded">75%</div>
   <div class="opacity-50 p-3 m-2 bg-primary text-light fw-bold rounded">50%</div>
   <div class="opacity-25 p-3 m-2 bg-primary text-light fw-bold rounded">25%</div>
+  <div class="opacity-0 p-3 m-2 bg-primary text-light fw-bold rounded">0%</div>
 </div>
 
 ```html
@@ -22,6 +23,7 @@ Set the `opacity` of an element using `.opacity-{value}` utilities.
 <div class="opacity-75">...</div>
 <div class="opacity-50">...</div>
 <div class="opacity-25">...</div>
+<div class="opacity-0">...</div>
 ```
 
 ## CSS