| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta name="fuzzy" content="maxDifference=0-68; totalPixels=0-885"> |
| <style> |
| .test { |
| position: relative; |
| display: inline-block; |
| border: 1px solid black; |
| margin: 20px 50px; |
| } |
| span { |
| font-size: 80px; |
| background-color: green; |
| line-height: 1.5em; |
| border: 10px solid black; |
| border-radius: 1px; |
| } |
| |
| .vertical { |
| -webkit-writing-mode: vertical-rl; |
| } |
| |
| .obscurer { |
| position: absolute; |
| background-color: gray; |
| } |
| |
| .horizontal .obscurer { |
| top: 0px; |
| left: -1px; |
| width: 3px; |
| height: 100%; |
| } |
| |
| .horizontal .obscurer.right { |
| left: auto; |
| right: -1px; |
| } |
| |
| .vertical .obscurer { |
| top: -1x; |
| left: 0px; |
| width: 100%; |
| height: 3px; |
| } |
| |
| .vertical .obscurer.bottom { |
| top: auto; |
| bottom: -1px; |
| } |
| </style> |
| </head> |
| <body> |
| <div class="test horizontal"> |
| <span> <br> <br> </span> |
| <div class="obscurer left"></div> |
| <div class="obscurer right"></div> |
| </div> |
| <div class="test vertical"> |
| <span> <br> <br> </span> |
| <div class="obscurer top"></div> |
| <div class="obscurer bottom"></div> |
| </div> |
| </div> |
| </body> |
| </html> |