<angle-percentage>
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2015.
<angle-percentage>
CSS 数据类型表示 <angle>
或 <percentage>
的其中一个值。
当指定允许的类型为 <angle-percentage>
时,这意味着百分比值会解析为一个角度,因此可以在 calc()
表达式中使用。
语法
请参阅 <angle>
和 <percentage>
的文档,了解该类型允许使用的语法的详细信息。
形式语法
<angle-percentage> =
<angle> |
<percentage>
规范
Specification |
---|
CSS Values and Units Module Level 4 # mixed-percentages |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<angle-percentage> |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.