+ 3

Why is the dropdown content is in transparent color?

Please help. Which property should I add so that the dropdown would not be transparent? https://code.sololearn.com/WRGg74rDoBIT/?ref=app

7th Jul 2017, 10:50 AM
SC Lee
SC Lee - avatar
2 Antworten
+ 12
*Already answered in the comments* The z-index property specifies the stack order of an element, setting this property as "-1" you putted that menu behind all other things, this is why you see a transparent menu. :3
7th Jul 2017, 11:05 AM
Maz
Maz - avatar
+ 3
@Maz Thanks a lot. 🙂
7th Jul 2017, 11:08 AM
SC Lee
SC Lee - avatar