Create a gist now

Instantly share code, notes, and snippets.

Overflow example for a SO question
<!DOCTYPE HTML>
<html>
<head>
<title>Overflow!</title>
<style type="text/css">
#outer {
height: 200px;
position: relative;
overflow: hidden;
background-color: red;
}
#inner {
height: 10px;
width: 10px;
position: absolute;
top: 0;
left: -5px;
background-color: blue;
}
</style>
</head>
<body>
<div id="outer">
<div id="inner"></div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment