CSS Images - CSS: Cascading Style Sheets 编辑
CSS Images is a module of CSS that defines what types of images can be used (the <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
linear-gradient()
radial-gradient()
repeating-linear-gradient()
repeating-radial-gradient()
conic-gradient()
repeating-conic-gradient()
url()
element()
image()
cross-fade()
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 |
---|---|---|
CSS Images Module Level 4 | Working Draft | Added image-resolution , conic-gradient() , and image() |
CSS Images Module Level 3 | Candidate Recommendation | Added image-orientation , image-rendering , object-fit and object-position |
Compatibility Standard The definition of 'CSS Gradients' in that specification. | Living Standard | Standardizes the -webkit prefixed gradient value functions |
CSS Values and Units Module Level 3 The definition of '<url>' in that specification. | Candidate Recommendation | |
CSS Level 2 (Revision 1) The definition of '<uri>' in that specification. | Recommendation | |
CSS Level 1 The definition of '<url>' in that specification. | Recommendation | Initial definition |
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论