+ 1
Why do my navbar elements have that black background?
10 Antworten
+ 2
oh I think I understand what you meant now. Use text-shadow instead of box-shadow and see if that's more what you were hoping for
+ 1
uhh, cause you told it to when you said header{ background-color: black }? Is this a trick question?
+ 1
It does go away, at least for me
to be more specific, it switches to inheriting the grey color from body
0
Then why if I delete this line in header problem doesn't go away
0
The background turns gray
0
right, that's the body background-color: #555
0
Then why if I change the background color to transparent in "a {background-color}" it doesn't go away?
0
Well, for starters because transparent is transparent, so the body shows up through it.
But also, <a>'s background is very small, change it to something like blue or red just to see
0
So how do I delete <a> background so i can see its Shadow properly
0
Finally, thank you