blob: ea4d7ecc13200295999dcd4a8c7e994dc2d550ef [file] [log] [blame]
<!DOCTYPE html>
| "overflow" property affects the clipping of all of the element's content
| except any descendant elements whose containing block is the viewport or
| an ancestor of the element.
| Results should be similar to overflow hidden.
.outer {
background-color: rgb(63, 81, 181);
overflow: auto;
width: 100px;
height: 100px;
margin-bottom: 100px;
.inner {
position: relative;
background-color: #2196f3;
width: 100px;
height: 100px;
left: 50px;
top: 50px;
<div class="outer">
<div class="inner"></div>