OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <link href="resources/grid.css" rel="stylesheet"> | |
4 <head> | |
5 <style> | |
6 .grid { | |
7 background-color:grey; | |
8 } | |
9 .gridItem { | |
10 width: 50px; | |
11 height: 50px; | |
12 } | |
13 </style> | |
14 </head> | |
15 <body> | |
16 <div>This test checks that the grid's items are not affected by the 'float' and 'clear' properties.</div> | |
17 <div class="grid"> | |
18 <div style="float:right;" class="gridItem firstRowFirstColumn"></div> | |
19 <div style="float:left;" class="gridItem firstRowSecondColumn"></div> | |
Manuel Rego
2014/05/14 14:55:36
I'd add 2 items to the same grid cell to check tha
| |
20 <div style="float:right;" class="gridItem secondRowFirstColumn"></div> | |
21 <div style="float:left;" class="gridItem secondRowSecondColumn"></div> | |
22 </div> | |
23 </body> | |
24 </html> | |
25 | |
OLD | NEW |