18 lines
436 B
HTML
18 lines
436 B
HTML
<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] -->
|
|
<style>
|
|
div {
|
|
width: 50px;
|
|
}
|
|
div:nth-child(odd) {
|
|
background-color: green;
|
|
}
|
|
div:nth-child(even) {
|
|
background-color: blue;
|
|
}
|
|
</style>
|
|
<body style="background-color: white">
|
|
<div style="height: 50px"></div>
|
|
<div style="height: 100px"></div>
|
|
<div style="height: 150px"></div>
|
|
<div style="height: 200px"></div>
|
|
</body> |