mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 05:06:55 +04:00
Use plain buttons in the confetti amount example (#3135)
This commit is contained in:
1 parent
add68b29b6
commit
c28e848f0f
2 files changed
+7
-2
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/docs": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Updated the confetti amount example to use plain `.btn` buttons instead of `.btn-outline-primary`.
|
||||||
@@ -34,8 +34,8 @@ Use confetti for a moment, not for a page. One burst when a setup is finished or
|
|||||||
Set `data-bs-count` for the number of pieces and `data-bs-duration` for how long they keep pouring, in milliseconds. The pour is always dense at the start and thins out towards the end, whatever its length.
|
Set `data-bs-count` for the number of pieces and `data-bs-duration` for how long they keep pouring, in milliseconds. The pour is always dense at the start and thins out towards the end, whatever its length.
|
||||||
|
|
||||||
<Example centered>
|
<Example centered>
|
||||||
<button type="button" class="btn btn-outline-primary" data-bs-toggle="confetti" data-bs-count="60" data-bs-duration="800">A few</button>
|
<button type="button" class="btn" data-bs-toggle="confetti" data-bs-count="60" data-bs-duration="800">A few</button>
|
||||||
<button type="button" class="btn btn-outline-primary" data-bs-toggle="confetti" data-bs-count="600" data-bs-duration="6000">A lot</button>
|
<button type="button" class="btn" data-bs-toggle="confetti" data-bs-count="600" data-bs-duration="6000">A lot</button>
|
||||||
</Example>
|
</Example>
|
||||||
|
|
||||||
### Colors
|
### Colors
|
||||||
|
|||||||
Reference in new issue
Block a user