<!DOCTYPE html> | |
<meta charset="utf-8" /> | |
<title>Element partially hidden by other element</title> | |
<style> | |
div { | |
height: 100px; | |
width: 100px; | |
} | |
#partial { | |
background: yellow; | |
} | |
#other { | |
background: blue; | |
margin-top: -50px; | |
margin-left: 50px; | |
} | |
</style> | |
<div id="partial"></div> | |
<div id="other"></div> |