如何让div固定在页面的某个位置

日期:2016-08-12 14:51:38 人气:1

如何让div固定在页面的某个位置

用绝对定位或相对定位 absolute 使用示例如下,左上角为(0,0): .red-border { width:100px; height:100px; border: 1px solid red; } #div1 { position: absolute; top: 200px; left: 200px
    A+
热门评论