HTML:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<div class="box">
<div class="prisoner">o</div>
</div>
</body>
</html>
CSS:
.box {
width: 200px;
height: 100px;
background-color: #ccc;
position: relative;
overflow: hidden;
}
.prisoner {
width: 10px;
height: 10px;
background-color: #fa0;
position: absolute;
top: -10px;
}
In this case, I would like to make the prisoner visible (when it goes beyond the bounds of the div box) even though it is inside a hidden overflow?