Of course you'll want to have a non-responsive fallback image for these non-supporting browsers. Support of major browsers for image-set() as of November 20, 2020. But for its CSS background-image equivalent image-set() (accessible through -webkit-image-set()), there is no support for IE11, Firefox, Firefox for Android and Opera Mini ( MDN, CanIUse). Modern browsers widely support the HTML srcset attribute that enables responsive images ( MDN, CanIUse). Note: this blog post was a learning from a project at Columbia Road, an updated version can be found on the company site: Tech logs: Use image-set() while supporting Firefox with dynamically loaded background images Solution: put those rules in a tag instead to support fallbacks. Enter fullscreen mode Exit fullscreen mode
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |