Hz
Hertz, cycles per second, a unit for audio pitch in speech styling.
Not usableNo property accepts it in any main browser
Formula 1Hz = 1 cycle per second
How it works
A hertz is one cycle per second. CSS defines frequency units for the speech module, where the voice-pitch property sets how high a voice reads a page aloud, so voice-pitch: 200Hz absolute is a valid declaration by the specification. Concert A is 440Hz, and the human ear reaches from about 20Hz to 20kHz.
No property that takes a frequency works in Chromium 156. voice-pitch is rejected as an unknown property, the older pitch is rejected too, and width: 1hz is not valid either, so a frequency in a stylesheet changes nothing in that browser. MDN’s compatibility data has no entry for the unit or for voice-pitch, which is why this site shows no support data for it.
Do not spend time on Hz in CSS.
Try it
Convert angles, time and resolution
Pick a unit and a value. The other units of the same kind are shown, and an angle turns the square.
deg- 90
grad- 100
rad- 1.5708
turn- 0.25
Your screen:
The same as a table
| Kind | Equal to |
|---|---|
| A right angle | 0.25turn, 90deg, 100grad, 1.5708rad |
| A duration | 1s, 1000ms |
| A resolution | 1dppx, 1x, 96dpi, 37.795dpcm |
Reach for it when
Reading the specification: the unit is defined there, next to the speech properties.
Watch out
Nothing visible happens. The unit exists for speech styling such as voice-pitch, which Chromium 156 rejects and MDN has no data for.
.speaker {
voice-pitch: 220Hz absolute;
}