![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css
冬~风满楼
这个作者很懒,什么都没留下…
展开
-
css第二天
//元素的前后位置 1移到前面,-1移到后面(重叠顺序) z-index:1 //下划线 text-decoration:underline //背景拼台 sprites //全大写并缩小英文字母字体 font-variant : normal | small-caps //文字间距 word-spacing: 5px; //箱型阴影 box-shadow: 2px 6px; //边界半径 border-radius: 20px; //列计数 column-count: 3; //背景位置 backgrou原创 2020-06-15 22:42:25 · 83 阅读 · 0 评论 -
position属性是用四种定位
position属性是用四种定位。默认的是static。 position:absolute(绝对定位) ——是脱离文档流,相对于父级元素(包含这个position:relative)定位,当然如果没有,那就是相对于body定位的。 position:relative(相对定位) ——单独使用,我不知道很多人是不是也跟我一样忽略过它,relative 也是不脱离文档流,“这个元素会偏移某个距离。但...原创 2020-02-17 11:02:15 · 566 阅读 · 0 评论