基础界面
margin:0
padding:0
内外边距为0
居中margin:0 auto
float:
漂浮。
font-family:字体样式
content-left:
min:给出最小
max-:给出最大
5/12
定位----自然----文档流
定位
position
static按文档依次排布】
相对
relative:
left 强于right
top强于bottom
绝对定位 absolute
脱离文档流: 绝对定位的坐标平移的坐标原点是以有定位属性的父元素来确认的,所有的都没有定位默认以页面顶部的左上角。
opacity:
透明度。
z-index: 可以在上层显示
固定定位
{ position :fixed:
}
float : 浮动
overflow;hidden 溢出隐藏
overflow:scroll 添加滚动条
裁剪
clip:rect(上,右,下,左) 下边值大于上