Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!doctype html> |
michael@0 | 2 | <title>CSS Reftest Reference: background-attachment: local</title> |
michael@0 | 3 | <link rel="author" title="Simon Sapin" href="http://exyr.org/about/" /> |
michael@0 | 4 | <style> |
michael@0 | 5 | #outer { |
michael@0 | 6 | width: 200px; |
michael@0 | 7 | height: 200px; |
michael@0 | 8 | padding: 40px; |
michael@0 | 9 | border: 10px double; |
michael@0 | 10 | overflow: hidden; |
michael@0 | 11 | border-radius: 50%; |
michael@0 | 12 | } |
michael@0 | 13 | #outer div { |
michael@0 | 14 | background: url(aqua-yellow-32x32.png); |
michael@0 | 15 | height: 500px; |
michael@0 | 16 | margin-top: -15px; |
michael@0 | 17 | } |
michael@0 | 18 | p { |
michael@0 | 19 | margin-top: 0; |
michael@0 | 20 | padding-top: 20px; |
michael@0 | 21 | } |
michael@0 | 22 | </style> |
michael@0 | 23 | <div id=outer> |
michael@0 | 24 | <div> |
michael@0 | 25 | <p><img src=blue-32x32.png></p> |
michael@0 | 26 | </div> |
michael@0 | 27 | </div> |