You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
netsurf/test/calc/steps.html

34 lines
985 B

<html>
<head>
<style>
div {
background: blue;
height: 1em;
}
</style>
</head>
<body>
<div style="width:calc(1em * 1);"></div>
<div style="width:calc(1em * 2);"></div>
<div style="width:calc(1em * 3);"></div>
<div style="width:calc(1em * 4);"></div>
<div style="width:calc(1em * 5);"></div>
<div style="width:calc(1em * 6);"></div>
<div style="width:calc(1em * 7);"></div>
<div style="width:calc(1em * 8);"></div>
<div style="width:calc(1em * 9);"></div>
<div style="width:calc(1em * 10);"></div>
<div style="width:calc(1em * 11);"></div>
<div style="width:calc(1em * 12);"></div>
<div style="width:calc(1em * 13);"></div>
<div style="width:calc(1em * 14);"></div>
<div style="width:calc(1em * 15);"></div>
<div style="width:calc(1em * 16);"></div>
<div style="width:calc(1em * 17);"></div>
<div style="width:calc(1em * 18);"></div>
<div style="width:calc(1em * 19);"></div>
<p>Above should be a blue staircase.
Each step should be as deep as it is tall.</p>
</body>
</html>