I have a ‘down’ button on the right side of my website, that scrolls smoothly to the below fold area. But in smaller windows; netbooks, ipads etc – the button is pushed behind the content. How could I properly set the z-index of that image/div so when view on a smaller screen it appears above the content?
Share
The higher the z-index the more the div / img is in front of the rest. If you want to be sure that your button is in front of the rest use 9999.