OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 #background { | 5 #background { |
6 background-color: yellow; | 6 background-color: yellow; |
7 display: inline-block; | 7 display: inline-block; |
8 } | 8 } |
9 | 9 |
10 .container { | 10 .container { |
(...skipping 21 matching lines...) Expand all Loading... |
32 context.lineWidth = 4; | 32 context.lineWidth = 4; |
33 context.strokeRect(20, 20, 60, 60); | 33 context.strokeRect(20, 20, 60, 60); |
34 }; | 34 }; |
35 | 35 |
36 drawCanvas('box-green', 'green'); | 36 drawCanvas('box-green', 'green'); |
37 drawCanvas('box-red', 'red'); | 37 drawCanvas('box-red', 'red'); |
38 | 38 |
39 </script> | 39 </script> |
40 </body> | 40 </body> |
41 </html> | 41 </html> |
OLD | NEW |