<frequency-percentage>

The <frequency-percentage> CSS data type represents a value that can be either a <frequency> or a <percentage>.

Syntax

Refer to the documentation for <frequency> and <percentage> for details of the individual syntaxes allowed by this type.

Use in calc()

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

Specifications

Specification Status Comment
CSS Values and Units Module Level 4
The definition of '<frequency-percentage>' in that specification.
Editor's Draft  
CSS Values and Units Module Level 3
The definition of '<frequency-percentage>' in that specification.
Candidate Recommendation Defines <frequency-percentage>. Adds calc()

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
<frequency-percentage>
Experimental
Chrome Full support YesEdge No support NoFirefox No support NoIE No support NoOpera No support NoSafari No support NoWebView Android Full support YesChrome Android Full support YesEdge Mobile No support NoFirefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung Internet Android No support No

Legend

Full support  
Full support
No support  
No support
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, mfuji09, chrisdavidmills, rachelandrew
Last updated by: mdnwebdocs-bot,