PascalM Posted April 3, 2020 Share Posted April 3, 2020 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 comment Share on other sites More sharing options...
Ingolme Posted April 4, 2020 Share Posted April 4, 2020 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. 1 Link to comment Share on other sites More sharing options...
dsonesuk Posted April 4, 2020 Share Posted April 4, 2020 Works on my mobile. Link to comment Share on other sites More sharing options...
PascalM Posted April 16, 2020 Author Share Posted April 16, 2020 hmmm, strange. added doctype but still not working. Link to comment Share on other sites More sharing options...
PascalM Posted April 16, 2020 Author Share Posted April 16, 2020 On 4/4/2020 at 8:35 AM, dsonesuk said: Works on my mobile. what OS and Browser are you using? Link to comment Share on other sites More sharing options...
dsonesuk Posted April 16, 2020 Share Posted April 16, 2020 Android firefox , chrome. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now