Ask coding questions

← Back to all posts
Make html background changing colors.
h
p1ckl3

So lets say I have a background that is blue in a html site that I'm making. How do I get this color to chang?

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
p1ckl3
Comments
hotnewtop
Coder100

you can use js or css

do you mean css animation change?

read more: https://developer.mozilla.org/en-US/docs/web/css/animation

the second is js:

replace <your color here> with your color.

p1ckl3

Thanks @Coder100! Thats very cool.

SixBeeps

You'd use JS: