《CSS层叠样式表》-----第四课

来源:互联网 发布:java线程池使用demo 编辑:程序博客网 时间:2024/05/19 19:32
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   */  值越大越往上面浮动
0 0
原创粉丝点击