![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CSS
zzang..
这个作者很懒,什么都没留下…
展开
-
Css选择器
第一个 .类xxx:nth-child(1){ padding-left:20rpx; } 最后一个 .类xxx:last-child{ padding-right:20rpx; }原创 2021-08-10 15:28:18 · 84 阅读 · 0 评论 -
页面弹窗居中
position:absolute; top:50%; left:50%; transform:translate(-50%,-50%) //参考自身定位居中原创 2021-07-28 15:10:20 · 50 阅读 · 0 评论 -
Css控制一行文字超出不换行
white-space: nowrap; //超出不换行 text-overflow: ellipsis; //超出省略号 overflow: hidden; //超出隐藏原创 2021-07-26 10:26:23 · 326 阅读 · 0 评论 -
display:flex;
让第三个元素最右靠齐 margin-left:auto;原创 2021-06-30 17:23:30 · 44 阅读 · 0 评论