Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<title>CSS Background Test Reference</title>
<link rel="author" title="schenney" href="mailto:schenney@chromium.org">
<style type="text/css">
.backgroundSize{
background: url("../support/1x1-green.png");
background-size: 50% 100%;
background-repeat: repeat-y;
height: 100px;
}
</style>
</head>
<body>
<div style="background: #7957d5">
<div class="backgroundSize"></div>
</div>
</body>
</html>