my web page has background set as linear gradient. i want to apply same background to my div. how to override default background of div.
<div class="bg">
<div>
content
</div>
</div>
.bg{
background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%),
linear-gradient(0deg, #F0F8FF, #F0F8FF);
}
i want to apply bg to inner div. inner div has white background how can i set priority of background color.