CSS <frequency> Data Type
Description
The <frequency>
CSS data type allows for the specification of the pitch of sounds, expressed as a number followed (without whitespace) by one of the frequency units: Hz and kHz.
Syntax
property: <frequency>;
Values
- HzFrequency in hertz, represents the number of cycles per second.
- kHzFrequency in kilohertz, represents the number of thousands of cycles per second (in other words, 1kHz equals 1000Hz).
Example
Unfortunately, no CSS properties use the frequency data type yet.
Browser Support
Desktop | |||||
X | X | X | X | X | X |
Tablets / Mobile | |||||
![]() |
|||||
X | X | X | X | X | X |
Last updated by CSSPortal on: 9th December 2019