create rainbow background
This commit is contained in:
@@ -2,10 +2,14 @@ in the css
|
||||
|
||||
@import url("https://styles.alv.cx/modules/rainbow.css");
|
||||
|
||||
or
|
||||
|
||||
@import url("https://styles.alv.cx/modules/rainbow-background.css");
|
||||
|
||||
variables:
|
||||
|
||||
--rainbow-duration: 8s;
|
||||
|
||||
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` or `background-color` property of the element.
|
||||
|
||||
Reference in New Issue
Block a user