Source code
Revision control
Copy as Markdown
Other Tools
<!doctype html>
<title>CSS Reftest Reference: background-attachment: local</title>
<style>
#outer {
width: 200px;
height: 200px;
padding: 40px;
border: 10px double;
overflow: hidden;
border-radius: 50%;
}
#outer div {
background: url(aqua-yellow-32x32.png);
height: 500px;
margin-top: -15px;
}
p {
margin-top: 0;
padding-top: 20px;
}
</style>
<div id=outer>
<div>
<p>Test</p>
</div>
</div>