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 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>background-size + zoom</title> |
michael@0 | 5 | <style type="text/css"> |
michael@0 | 6 | html |
michael@0 | 7 | { |
michael@0 | 8 | margin: 0; |
michael@0 | 9 | padding: 10px; |
michael@0 | 10 | } |
michael@0 | 11 | body |
michael@0 | 12 | { |
michael@0 | 13 | margin: 0; |
michael@0 | 14 | padding: 0; |
michael@0 | 15 | } |
michael@0 | 16 | #outer |
michael@0 | 17 | { |
michael@0 | 18 | border: 2px solid black; |
michael@0 | 19 | width: 128px; |
michael@0 | 20 | height: 256px; |
michael@0 | 21 | } |
michael@0 | 22 | #inner |
michael@0 | 23 | { |
michael@0 | 24 | width: 32px; |
michael@0 | 25 | height: 32px; |
michael@0 | 26 | background-image: url(aqua-32x32.png); |
michael@0 | 27 | background-repeat: no-repeat; |
michael@0 | 28 | } |
michael@0 | 29 | </style> |
michael@0 | 30 | </head> |
michael@0 | 31 | <body> |
michael@0 | 32 | <div id="outer"><div id="inner"></div></div> |
michael@0 | 33 | </body> |
michael@0 | 34 | </html> |