Try to search your question here, if you can't find : Ask Any Question Now ?

Z-index not making an element appear above others

HomeCategory: stackoverflowZ-index not making an element appear above others
Avatargaurav asked 3 months ago

Here I have a small example of a modal, and I’ve added z-index: 1000 to a button.

  <button type="button" class="btn btn-info btn-lg" style="z-index: 1000" data-toggle="modal" data-target="#myModal">Open Modal</button>

Why doesn’t the button appear above the modal? Or am I totally misunderstanding the z-index property?

https://www.w3schools.com/code/tryit.asp?filename=G22NNMWCE9PS

1 Answers
Best Answer
AvatarMannu answered 3 months ago
Your Answer

1 + 12 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com