blob: 8d14ae02a4f7514d2c891e14e70502cedb0e63a1 [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.
.outer {
background-color: rgb(63, 81, 181);
overflow: hidden;
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>