Web platform features explorer

image()

The image() CSS function creates an image similar to url() but with additional functionality. It can create a solid color as an image, provide a fallback from an image URL to a solid color, or clip a sprite image using media fragments. Not to be confused with the Image() constructor.

Status

Limited availability

MDN documentation

Browser support

  • Chrome
  • Chrome Android
  • Edge
  • Firefox Vendor position : unknown
  • Firefox for Android Vendor position : unknown
  • Safari
  • Safari on iOS

Developer votes

Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.