I've been having some issues with the z-index
property. Below you can see a example:
<div id="popup">
<div id="button">
</div>
</div>
<div id="trip">
</div>
<div id="gray">
</div>
https://jsfiddle.net/cf5dhv39/1/
As you can see, I want that the div #button
overlay the div #gray
(like the div #trip
does), but, no matter how much I increase the z-index
in #button
, the button doesn't overlay the #gray
.