<!DOCTYPE html><!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] --> | |
<style> | |
.first { | |
width: 140px; | |
height: 20px; | |
background-color: green; | |
} | |
.second { | |
width: 60px; | |
height: 20px; | |
background-color: blue; | |
position: relative; | |
top: -20px; | |
left: 10px; | |
} | |
</style> | |
<div class=first></div> | |
<div class=second></div> |