Can we make a button stay still when you move your screen around or scroll up/down on a tablet?

This code work well on a traditional computer with non-touch screen.

`<style>
    #stayFixedDiv{
      background-color: #FBD603;
      position: fixed;
      left: 40px;
    }
    </style>

    <body>
    <div id ="stayFixedDiv">
     <a   style="font-size: 35px; text-decoration: none" > Pause Video</a>
    </div>

    </body>
`

But that code does not work on a tablet. When I move the screen on my tablet around, the button doesn’t stay still as on my desktop.

How can we achieve that?