OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <style> | 3 <style> |
4 .grid { | 4 .grid { |
5 width: 400px; | 5 width: 500px; |
6 height: 300px; | 6 height: 300px; |
7 border: 5px solid black; | 7 border: 5px solid black; |
8 margin: 30px; | 8 margin: 30px; |
9 padding: 15px; | 9 padding: 15px; |
10 background-color: grey; | |
11 } | 10 } |
12 | 11 |
13 .container { | 12 .container { |
14 position: relative; | 13 position: relative; |
15 float: left; | 14 float: left; |
16 } | 15 } |
17 | 16 |
18 .absolute { | 17 .absolute { |
19 position: absolute; | 18 position: absolute; |
20 } | 19 } |
(...skipping 10 matching lines...) Expand all Loading... |
31 | 30 |
32 <div class="container"> | 31 <div class="container"> |
33 <div class="grid"></div> | 32 <div class="grid"></div> |
34 <div class="absolute green" style="left: 55px; top: 50px; width: 100px; heig
ht: 50px"></div> | 33 <div class="absolute green" style="left: 55px; top: 50px; width: 100px; heig
ht: 50px"></div> |
35 <div class="absolute green" style="left: 290px; top: 50px; width: 50px; heig
ht: 20px"></div> | 34 <div class="absolute green" style="left: 290px; top: 50px; width: 50px; heig
ht: 20px"></div> |
36 <div class="absolute green" style="left: 50px; top: 115px; width: 50px; heig
ht: 30px"></div> | 35 <div class="absolute green" style="left: 50px; top: 115px; width: 50px; heig
ht: 30px"></div> |
37 <div class="absolute green" style="left: 175px; top: 135px; width: 145px; he
ight: 75px"></div> | 36 <div class="absolute green" style="left: 175px; top: 135px; width: 145px; he
ight: 75px"></div> |
38 </div> | 37 </div> |
39 | 38 |
40 </body> | 39 </body> |
OLD | NEW |