image-set()

Term side of the Card
Topic: Background
Unit title: image-set()
Categories: Function
Explanation side of the Card

Explanation: The function that allows defining multiple versions of an image for different screen resolutions. It's similar to the `srcset` attribute in HTML and helps to deliver the best quality image based on the user's device, improving visual performance.

Browser compatibility:
  • The chrome browser supports this feature starting from version 113
  • The edge browser supports this feature starting from version 113
  • The firefox browser supports this feature starting from version 89
  • The safari browser supports this feature starting from version 17
Availability: