--- title: CSS Images slug: Web/CSS/CSS_Images tags: - CSS - CSS Images - NeedsTranslation - Overview - Reference - TopicStub translation_of: Web/CSS/CSS_Images ---
{{CSSRef}}

CSS Images is a module of CSS that defines what types of images can be used (the {{cssxref("<image>")}} type, containing URLs, gradients and other types of images), how to resize them and how they, and other replaced content, interact with the different layout models.

Reference

Properties

Functions

Data types

Guides

Using CSS gradients
Presents a specific type of CSS images, gradients, and how to create and use these.
Implementing image sprites in CSS
Describes the common technique grouping several images in one single document to save download requests and speed up the availability of a page.

Specifications

Specification Status Comment
{{SpecName('CSS4 Images')}} {{Spec2('CSS4 Images')}}  
{{SpecName('CSS3 Images')}} {{Spec2('CSS3 Images')}}  
{{SpecName('Compat', '#css-%3Cimage%3E-type', 'CSS Gradients')}} {{Spec2('Compat')}} Standardizes the -webkit prefixed gradient value functions
{{SpecName('CSS3 Values', '#urls', '<url>')}} {{Spec2('CSS3 Values')}}  
{{Specname('CSS2.1', 'syndata.html#uri', '<uri>')}} {{Spec2('CSS2.1')}}  
{{SpecName('CSS1', '#url', '<url>')}} {{Spec2('CSS1')}} Initial definition

Compatibilidade com navegadores

{{CompatibilityTable}}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 1.0 {{CompatGeckoDesktop("1")}} {{CompatVersionUnknown}} {{CompatVersionUnknown}} {{CompatVersionUnknown}}
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 1.0 {{CompatGeckoMobile("1")}} {{CompatVersionUnknown}} {{CompatVersionUnknown}} {{CompatVersionUnknown}}