javascript – Remove element if Safari / iOS

I’m building a website where I’ve created a full screen button, which can be useful on mobile – at least for my website. Some of this is done through JavaScript. However, if I’m not mistaken, this full screen mode doesn’t work in Safari (or iOS only in general). So basically, I would like to remove the button in these cases, because it doesn’t work for them.

Can this be accomplished with CSS, or do I need some javascript?

Write a Comment