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