DisplayName DisplayName - 2 months ago 23
CSS Question

How do I make a button moved through css pushable?

I have two buttons like this:

<div style="position: relative; bottom: +95;">
<button name="" value="">Bypass</button>
<button name="open" value="n">Bypass</button>
</div>


When I click them, nothing happens, they are not interactable.

When I find them through pressing tab, the buttons do appear as interactable objects and I am able to push them down through pressing enter.

If I remove the
<div style="position: relative; bottom: +95;">
, they get pushable again, but obviously they aren't where I want them to.

Answer Source

Try z-index like this:

<div style="position: relative; bottom: +95; z-index: 9999;">
<button name="" value="">Bypass</button>
<button name="open" value="n">Bypass</button>
</div>