<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
.container { | |
position: absolute; | |
left: 550px; | |
height: 200px; | |
width: 200px; | |
background-color: silver; | |
} | |
#target { | |
text-indent: -300px; | |
width: 200px; | |
height: 50px; | |
overflow: hidden; | |
background-color: blue; | |
} | |
</style> | |
</head> | |
<body"> | |
<div class="container"> | |
<div id="target"></div> | |
</div> | |
</body> | |
</html> |