Hinweise und Grenzen
Eingaben und Ausgabe vor der Verwendung überprüfen. Die verfügbaren Formate und Rechenverfahren hängen vom gewählten Werkzeug ab.
Ausführliche Anleitung, Beispiel und technische Hinweise (Englisch)
Enter the pixel value and the computed font size of the root html element in CSS pixels.
Example
24 px ÷ 16 px root font size = 1.5 rem. With a 20 px root, the same 24 px equals 1.2 rem.
Limitations
rem = px ÷ root font size. rem refers to the html element, not the parent element. The default 16 px is an assumption; browser settings and CSS can change it. Negative values are supported.