gecko-dev/layout/reftests/css-valuesandunits/unit-rem-ref.html

14 строки
219 B
HTML

<style>
:root { font-size: 20px }
body { font-size: 25px }
div {
font-size: 30px;
width: 300px;
}
#a {
border-bottom: 1px solid #f00;
}
</style>
<body>Level 1<div id=a>Level 2<div id=b>Level 3</div></div></body>