CSS References | CSS: Presentation Layer

Standards Based Development

css Image (Data Type)

image css data type represents a 2d image; there are two kinds in css: plain static images, which are typically referenced using a url, and dynamically-generated images like gradients or representations of parts of the tree. Images css can handle:

css determines the concrete object size using these intrinsic dimensions, the specified size defined by width, height, or background-size, and the default object size defined by the kind of property the image is used with:

Kind of ObjectDefault Object Size
background-image

The size of the element's background positioning area.

list-style-image

The size of a character of 1em.

border-image

The size of the element's border image area.

cursor

A browser-defined size matching the usual size of a cursor on the used system.

Replaced Content using content with before and after pseudo-elements

A 300px x 150px rectangle.

image css data type represents may be one of the following:

image

css Layers

Below are some of the layers of css (there are more than 4):

Note: A css block should only affect one css layer.

cssom (css Object Model)

css Pixel

Device Pixel

css for Readability

Image Set