docs.rodeo

MDN Web Docs mirror

{{CSSRef}} 

The <angle-percentage> CSS data type represents a value that can be either a {{Cssxref("angle")}}  or a {{Cssxref("percentage")}} .

Where an <angle-percentage> is specified as an allowable type, this means that the percentage resolves to an angle and therefore can be used in a {{Cssxref("calc", "calc()")}}  expression.

Syntax

Refer to the documentation for {{Cssxref("angle")}}  and {{Cssxref("percentage")}}  for details of the individual syntaxes allowed by this type.

Formal syntax

{{csssyntax}} 

Specifications

{{Specifications}} 

Browser compatibility

{{Compat}} 

See also

In this article

View on MDN