update rainbow.txt
This commit is contained in:
parent
8fb62b291d
commit
b10387392a
@ -2,8 +2,10 @@ in the css
|
|||||||
|
|
||||||
@import url("https://styles.alv.cx/modules/rainbow.css");
|
@import url("https://styles.alv.cx/modules/rainbow.css");
|
||||||
|
|
||||||
|
variables:
|
||||||
|
|
||||||
|
--rainbow-duration: 8s;
|
||||||
|
|
||||||
and add the class `rainbow` to any element you want.
|
and add the class `rainbow` to any element you want.
|
||||||
|
|
||||||
it works by changing the `color` property of the element.
|
it works by changing the `color` property of the element.
|
||||||
|
|
||||||
the duration is determined by the variable `--rainbow-duration`
|
|
||||||
|
Loading…
Reference in New Issue
Block a user