| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <style> | 5 <style> |
| 6 | 6 |
| 7 .box { | 7 .box { |
| 8 width: 100px; | 8 width: 100px; |
| 9 height: 100px; | 9 height: 100px; |
| 10 margin: 10px; | 10 margin: 10px; |
| 11 border: 1px solid black; | 11 border: 1px solid black; |
| 12 -webkit-transition: background-color 1s linear; | 12 transition: background-color 1s linear; |
| 13 -moz-transition: background-color 1s linear; | 13 -moz-transition: background-color 1s linear; |
| 14 } | 14 } |
| 15 | 15 |
| 16 #one { | 16 #one { |
| 17 background-color: transparent; | 17 background-color: transparent; |
| 18 } | 18 } |
| 19 | 19 |
| 20 #one.changed { | 20 #one.changed { |
| 21 background-color: green; | 21 background-color: green; |
| 22 } | 22 } |
| (...skipping 29 matching lines...) Expand all Loading... |
| 52 </div> | 52 </div> |
| 53 | 53 |
| 54 <div class="box" id="two"> | 54 <div class="box" id="two"> |
| 55 </div> | 55 </div> |
| 56 | 56 |
| 57 <div id="result"> | 57 <div id="result"> |
| 58 </div> | 58 </div> |
| 59 | 59 |
| 60 </body> | 60 </body> |
| 61 </html> | 61 </html> |
| OLD | NEW |