Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-backgrounds/hidpi/simple-bg-color.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="simple-bg-color-ref.html">
<style>
.box1 {
width: 100px;
height: 150px;
background-color: green;
}
.box2 {
width: 200px;
height: 250px;
background-color: red;
}
</style>
<body>
<div class='box1'></div>
<div class='box2'></div>
</body>