popover-anchor-change-display-ref.html (486B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 4 <p>There should be a green box attached to the right side of each orange box.</p> 5 <div class=ex><div class=anchor></div><div class=popover></div></div> 6 <div class=ex><div class=anchor></div><div class=popover></div></div> 7 8 <style> 9 .ex { 10 margin: 25px; 11 font-size: 0; 12 } 13 .ex div { 14 display:inline-block; 15 width: 100px; 16 height: 100px; 17 } 18 .anchor { 19 background: orange; 20 } 21 .popover { 22 background: lime; 23 } 24 </style>