![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css
一贫如洗…
这个作者很懒,什么都没留下…
展开
-
h5去除滚动条
设置html、body的height为100%,html的overflow设为hidden,body的overflow设为auto,::-webkit-scrollbar { display: none !important }原创 2021-08-13 18:31:39 · 954 阅读 · 0 评论 -
flex布局
flex容器属性flex-direction 主轴方向 row | row-reverse | column | column-reverseflex-wrap 主轴换行 wrap | nowrap | wrap-reverseflex-flow 是direction和wrap的合写justify-content 主轴排列方式 flex-start | flex-end | center | space-between | space-aroundalign-items 交叉轴排列方式 flex-原创 2021-06-23 13:44:14 · 63 阅读 · 0 评论