position: absolute 和 relative image.png image.png image.png 最后一句话很对 父容器使用relative定位,子容器使用absolute绝对定位后,这样子元素的位置就不在相对于浏览器左上角,而是相对于父窗口左上角