Answers for "change background html"

2

change background of html

<body style="background-color: color or #hexcode here;">
Posted by: Guest on February-24-2021
14

how to make a background color in html

<body style="background-color: #fff">
  <!---this will change the body color---!>

</body>
Posted by: Guest on May-06-2020
5

how to change background image in html

<style>
div {
  background-image: url('img_girl.jpg');
}
</style>
Posted by: Guest on July-24-2020
5

html how to change background color

<body style="background-color:powderblue;">
<p style="background-color:tomato;">This paragraph has a red background.</p>
</body>
Posted by: Guest on September-04-2020
2

html change background color of page

<body bgcolor="some color">
 HTML goes here
</body>
Posted by: Guest on July-30-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 background html"

Browse Popular Code Answers by Language