mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Explicitly add missing opacity-0 helper class example for clarity.
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.
This commit is contained in:
parent
6dc18c6adc
commit
787dfea8a2
@ -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-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-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-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>
|
</div>
|
||||||
|
|
||||||
```html
|
```html
|
||||||
@ -22,6 +23,7 @@ Set the `opacity` of an element using `.opacity-{value}` utilities.
|
|||||||
<div class="opacity-75">...</div>
|
<div class="opacity-75">...</div>
|
||||||
<div class="opacity-50">...</div>
|
<div class="opacity-50">...</div>
|
||||||
<div class="opacity-25">...</div>
|
<div class="opacity-25">...</div>
|
||||||
|
<div class="opacity-0">...</div>
|
||||||
```
|
```
|
||||||
|
|
||||||
## CSS
|
## CSS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user