servo/tests/wpt/css-tests/css-backgrounds-3_dev/html4/reference/attachment-local-positioning-2-ref.htm

26 lines
No EOL
534 B
HTML

<!DOCTYPE html>
<html><head><title>CSS Reftest Reference: background-attachment: local</title>
<link href="http://exyr.org/about/" rel="author" title="Simon Sapin">
<style>
#outer {
border: solid;
background: url(aqua-yellow-32x32.png) local no-repeat 178px 278px;
overflow: hidden;
width: 200px;
height: 300px;
}
div div {
width: 250px;
height: 370px;
}
p {
margin: 0 0 0 -40px;
padding-top: 40px;
}
</style>
</head><body><div id="outer">
<div>
<p>Lorem ipsum dolor sit amet</p>
</div>
</div>
</body></html>