background-position-2-ref.html (278B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <meta charset="utf-8"> 4 <title>Reference for properly handled background-position changes.</title> 5 6 <style> 7 8 body { 9 margin: 0; 10 } 11 12 #background { 13 width: 100px; 14 height: 100px; 15 background-color: lime; 16 } 17 18 </style> 19 20 <div id="background"></div>