+ 2

Why the object is floating upside when I press menu button?

I am completely new to css . And it's not my css code . I have done this by looking a youtube channel https://code.sololearn.com/WhlEOVDkNI7a/?ref=app

25th Apr 2020, 1:40 PM
Vijay(v-star🌟)
Vijay(v-star🌟) - avatar
5 odpowiedzi
+ 3
as your .inputfn container come after your <ul> menu container in the html source and both are positionned, the former default come below the later (in source order) until you define explicit z-index value(s)... one way to fix it (reverse the layers order), you could set the .inputfn css rule "z-index:-1;"... https://developer.mozilla.org/en-US/docs/Web/CSS/z-index https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index
25th Apr 2020, 5:36 PM
visph
visph - avatar
+ 4
I don't want the input details in middle when I press menu button. some how I want to disable inputfn code
25th Apr 2020, 3:54 PM
Vijay(v-star🌟)
Vijay(v-star🌟) - avatar
+ 3
Ohh sounds interesting to fix it let let me try that thanks visph
25th Apr 2020, 5:38 PM
Vijay(v-star🌟)
Vijay(v-star🌟) - avatar
+ 3
Thanks I changed inputfn z index to -1
25th Apr 2020, 6:14 PM
Vijay(v-star🌟)
Vijay(v-star🌟) - avatar
+ 2
You'll be advised to study and experiement deeply this topic by diving at least in the link I've provided ;)
25th Apr 2020, 6:17 PM
visph
visph - avatar