OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 #container { | 5 #container { |
6 color: green; | 6 color: green; |
7 font: 100px/1 Ahem, sans-serif; | 7 font: 100px/1 Ahem, sans-serif; |
8 } | 8 } |
9 #shape-outside { | 9 #shape-outside { |
10 width: 100px; | 10 width: 100px; |
11 height: 100px; | 11 height: 100px; |
12 float: left; | 12 float: left; |
13 background-image: url("data:image/svg+xml;UTF-8,<svg xmlns='http://www.w3.or
g/2000/svg' width='100px' height='100px'><rect width='100%' height='100%' fill='
blue' /></svg>"); | 13 background: blue; |
14 background-repeat: no-repeat; | 14 background-repeat: no-repeat; |
15 } | 15 } |
16 </style> | 16 </style> |
17 </head> | 17 </head> |
18 <body> | 18 <body> |
19 <p>You should see three blue squares: above the green square, to the green squar
e's right, and below the green square.</p> | 19 <p>You should see three green squares: above the blue square, to the blue square
's right, and below the blue square.</p> |
20 <div id="container"> | 20 <div id="container"> |
21 X<br> | 21 X<br> |
22 <div id="shape-outside"></div> | 22 <div id="shape-outside"></div> |
23 X<br>X | 23 X<br>X |
24 </div> | 24 </div> |
25 </body> | 25 </body> |
26 </html> | 26 </html> |
OLD | NEW |