Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <style> | |
| 5 body { | |
| 6 margin: 0; | |
| 7 } | |
| 8 | |
| 9 .box { | |
| 10 height: 50px; | |
| 11 width: 100%; | |
| 12 } | |
| 13 | |
| 14 .relative { | |
| 15 position: fixed; | |
| 16 top: 50px; | |
| 17 background-color: green; | |
|
flackr
2017/02/22 14:45:42
Can we merge .relative and .box since there is onl
smcgruer
2017/02/22 15:26:31
Done.
| |
| 18 } | |
| 19 </style> | |
| 20 </head> | |
| 21 <body> | |
| 22 <div class="relative box"></div> | |
| 23 </body> | |
| 24 </html> | |
| OLD | NEW |