| <!doctype html> |
| <html lang="en"> |
| <head> |
| <style> |
| p, div { |
| font: 12px/1 monospace; |
| } |
| .box { |
| width: 260px; |
| height: 120px; |
| padding: 5px; |
| margin: 10px; |
| } |
| |
| #region { |
| -webkit-flow-from: flowHover; |
| width: 300px; |
| height: 190px; |
| border: 5px solid green; |
| border-left: 100px solid green; |
| border-color: darkred; |
| background-color: #ddddff; |
| } |
| |
| #content2 { |
| -webkit-flow-into: flowHover; |
| border: 5px solid darkred; |
| position: relative; |
| top: 30px; |
| } |
| </style> |
| </head> |
| <body> |
| <p>When hovering the <span style="color:green"><b>region</b></span>, the <span style="color:blue"><b>blue</b></span> box should disappear and a <span style="color:darkred"><b>red</b></span> one should appear instead (the region's <b>flow-from</b> will change to a different thread)</p> |
| <div id="region"></div> |
| <div id="content2" class="box">This box is flowed into the <span style="color:darkred"><b>region</b></span> when the region <b>is</b> hovered</div> |
| </body> |
| </html> |