hypothetical-box-dynamic-ref.html (508B)
1 <!doctype html> 2 <title>CSS Test Reference</title> 3 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> 4 <link rel="author" title="Mozilla" href="https://mozilla.org"> 5 <style> 6 div { 7 font: 16px / 1 monospace; 8 text-align: center; 9 margin: 5px; 10 position: relative; 11 min-height: 30px; 12 } 13 span { 14 position: absolute; 15 } 16 </style> 17 <p>Should see two words at the same horizontal position below:</p> 18 <div> 19 <span>Foo</span> 20 </div> 21 <div> 22 <span>Foo</span> 23 </div>