.outside { width: 200px; height: 200px; background-color: #EEE; }需要是
.outside { position: relative; width: 200px; height: 200px; background-color: #EEE; }绝对定位会在DOM中寻找最接近的相对定位的父对象,如果未定义,它将使用主体。

.outside { width: 200px; height: 200px; background-color: #EEE; }需要是
.outside { position: relative; width: 200px; height: 200px; background-color: #EEE; }绝对定位会在DOM中寻找最接近的相对定位的父对象,如果未定义,它将使用主体。