CSS 基本数据类型是一种组合值类型。用于定义 CSS 属性和函数可以接受的变量(关键字和单位)的种类。
数据类型由放置在不等式符号 "<" 和 ">" 之间的关键字表示:
参考
- <angle>
- <basic-shape>
- <blend-mode>
- <color>
- <custom-ident>
- <filter-function>
- <flex>
- <frequency>
- <gradient>
- <image>
- <integer>
- <length>
- <number>
- <percentage>
- <position>
- <ratio>
- <resolution>
- <shape-box>
- <single-transition-timing-function>
- <string>
- <time>
- <transform-function>
- <url>
规范
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
