1. top bottom left right (外边距) absolute
(padding)
2.父一级用relative
opacity
<sup></sup> 上标
<sub></sub> 下标
溢出
overflow:hidden;
transition:all 0.5s 0.2s; css3 (动画过渡效果)
固定定位
position: fixed
外边距 top bottom left right
z-index:1; /* 默认值为0 */ 值越大越往上面浮动
(padding)
2.父一级用relative
opacity
<sup></sup> 上标
<sub></sub> 下标
溢出
overflow:hidden;
transition:all 0.5s 0.2s; css3 (动画过渡效果)
固定定位
position: fixed
外边距 top bottom left right
z-index:1; /* 默认值为0 */ 值越大越往上面浮动