gecko-dev/layout/reftests/css-valuesandunits/unit-rem-div-width-inner.html

14 строки
219 B
HTML

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