relative-units-from-parent.html (626B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <meta name="viewport" content="width=device-width"> 4 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> 5 <link rel="author" title="Mozilla" href="https://mozilla.org"> 6 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1892676"> 7 <link rel="help" href="https://drafts.csswg.org/css-viewport/#zoom-property"> 8 <link rel="match" href="relative-units-from-parent-ref.html"> 9 <!-- 10 The font-size and line-height use the parent sizes, but should still 11 multiply by our own zoom. 12 --> 13 <div style="zoom: 2; font-size: 2em; line-height: 2lh">ABC</div>