+ 2

When I attach background image to a div and when I make another div inside it my background images disappears from that portion

Taken by child div

9th Jun 2020, 10:55 AM
Shivam Rawal
9 Answers
+ 2
Shivam Rawal because this *{ xbackground:tomato; } makes every elements with tomato color background.
9th Jun 2020, 11:57 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 1
* means every elements
9th Jun 2020, 12:02 PM
CalviŐ˛
CalviŐ˛ - avatar
0
K
9th Jun 2020, 10:57 AM
Shivam Rawal
0
Shivam Rawal please attach your source code too.
9th Jun 2020, 11:02 AM
Sudarshan Rai
Sudarshan Rai - avatar
9th Jun 2020, 11:27 AM
Shivam Rawal
0
U can see a orange box inside image pls solve it
9th Jun 2020, 11:28 AM
Shivam Rawal
0
Tysm I didn't noticed
9th Jun 2020, 11:58 AM
Shivam Rawal
0
But when I apply background color to body it doesn't come but div is child of body so it must inherit
9th Jun 2020, 12:01 PM
Shivam Rawal
0
Ohh k tysm
9th Jun 2020, 12:02 PM
Shivam Rawal