Troubleshooting Cross-Browser Compatibility with srcset Attribute in HTML img Tag
I'm using the srcset attribute of the IMG tag to display three different images on three different viewports. However, I've run into an issue where this srcset attribute isn't working correctly in Chrome and Safari browsers, although it works fine in Firefox. Can anyone help me in providing the best solution for ensuring compatibility across all browsers?
Here's the link to my codepen: https://codepen.io/Amit-Soni-the-vuer/pen/bGJoGxM
Here's the link to my codepen: https://codepen.io/Amit-Soni-the-vuer/pen/bGJoGxM

