gecko-dev/layout/reftests/display-list/1418945-1-ref.html

25 строки
324 B
HTML

<html>
<head>
<style>
div {
width: 100px;
height: 100px;
position:relative;
}
#first {
background-color: red;
z-index: 1;
}
#second {
top: -50px;
background-color: green;
z-index: 1;
}
</style>
</head>
<body>
<div id="first"></div>
<div id="second"></div>
</body>
</html>