Jump to content

Recommended Posts

Hello everybody

I recently found this simple Image Hover Effect on w3schools: Image Hover Overlay: https://www.w3schools.com/howto/howto_css_image_overlay.asp

This even seems to work on mobile (iOS) devices (touch), as far as I could test in the tryout editor.

I then saved the provided code and published it on my own hosting (https://hammermann.ch/test.html). It's still working on desktop, but not on mobile (and I haven't changed any code at all)

Any Ideas how to solve that? 

 

Thank you and stay healthy!
Pascal

Link to post
Share on other sites

I'm not sure to what extent it will affect the page on mobile, but the lack of a <!DOCTYPE html> tag on your page forces browsers into outdated rendering modes. The mobile devices may have an issue with this as well.

  • Thanks 1
Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...