Answers for "change the background color of a website html"

-1

how to edit colours in background html

<html>
  <body style="backgroung:red">
  <body>
</html>
Posted by: Guest on November-08-2020
0

html color changing background

@keyframes bgcolor {
    0% {
        background-color: #45a3e5
    }

    30% {
        background-color: #66bf39
    }

    60% {
        background-color: #eb670f
    }

    90% {
        background-color: #f35
    }

    100% {
        background-color: #864cbf
    }
}

body {
    -webkit-animation: bgcolor 20s infinite;
    animation: bgcolor 10s infinite;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}
Posted by: Guest on March-11-2020

Code answers related to "change the background color of a website html"

Browse Popular Code Answers by Language