I gave my body this property
body {
background: linear-gradient(to bottom, rgba(233, 44, 3, 2), rgba(255, 0, 0, 0));
}
and a div this one
div {
background: linear-gradient(to bottom, rgba(175, 113, 236, 0.8), rgba(175, 113, 236, 0.3));
}
The problem is that the items in my div ( h1 for example) have the body background color even if the rest of the div got the other color.
How can I override the body color for all elements inside my div.