<time-percentage>

CSS 数据类型<time-percentage> 的值可以表示为时间或百分比。

Syntax

有关此类型允许的各个语法的详细信息,请参阅<time><percentage>的文档。

Use in calc()

如果将<time percentage>指定为允许的类型,这意味着该百分比解析为时间,因此可以在calc()表达式中使用。

Specifications

No specification found

No specification data found for css.types.time-percentage.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

Browser compatibility

BCD tables only load in the browser