set up new workflow and migrate to .forgejo dir (#5)
Some checks failed
Deploy / deploy (push) Failing after 39s
Some checks failed
Deploy / deploy (push) Failing after 39s
Co-authored-by: Benjamin Palko <benjaminpalko@hotmail.com> Reviewed-on: #5
This commit is contained in:
parent
c37955c51b
commit
f526f5c0aa
99 changed files with 1866 additions and 1470 deletions
|
|
@ -1,19 +1,23 @@
|
|||
### countdown
|
||||
|
||||
Countdown gives you a transition effect when you change a number between 0 to 999
|
||||
|
||||
[countdown docs](https://daisyui.com/components/countdown/)
|
||||
|
||||
#### Class names
|
||||
|
||||
- component: `countdown`
|
||||
|
||||
#### Syntax
|
||||
|
||||
```html
|
||||
<span class="countdown">
|
||||
<span style="--value:{number};">number</span>
|
||||
<span style="--value:{number};">number</span>
|
||||
</span>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
|
||||
- The `--value` CSS variable and text must be a number between 0 and 999
|
||||
- you need to change the span text and the `--value` CSS variable using JS
|
||||
- you need to add `aria-live="polite"` and `aria-label="{number}"` so screen readers can properly read changes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue