image() value

Back to the index.

The image() notation is a new way of defining images.

In addition to just defining an image, like url() does, it has the option of taking an image fragment: part of the image, where the rest of the image isn’t shown. This could be useful for CSS sprites and the like.

Tests

This paragraph has a background image defined with the image() syntax.

This paragraph has the same, but I tried to use an image fragment by appending #xywh=50,0,30,20.