<style> | |
.inlineRoot { | |
border: 1px solid green; | |
width: 200px; | |
height: 200px; | |
overflow: hidden; | |
font-size: 12px; | |
} | |
.blockRoot { | |
position: relative; | |
top: 100px; | |
left: 100px; | |
} | |
</style> | |
<div class=inlineRoot>before<span class=blockRoot>nested</span>after</div> |