Create a body div using CSS [closed]

Easiest Solution would be to create a new css rule that simply changes the background color of an element to white i.e:

.white-background{
   background-color: #ffffff;
}

Then just add class="white-background" to the elements you want to have a white background. Just remember an HTML element can have multiple classes inside a single class=”” attribute just add the classes separated by spaces.

if you add this class and the background doesn’t behave you can add !important to the CSS rule as follows:

.white-background{
   background-color: #ffffff !important;
 }

error code: 523