![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CSS
步履蹒跚
这个作者很懒,什么都没留下…
展开
-
好看的滚动条样式
.nav::-webkit-scrollbar { /*滚动条整体样式*/ width : 3px; /*高宽分别对应横竖滚动条的尺寸*/ height: 1px; } .nav::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius : 10px; background-color...原创 2020-04-22 14:45:23 · 509 阅读 · 1 评论 -
el-dialog主体内容滚动,不影响body
记录一下 直接上代码 .el-dialog { position: relative; margin: 0 auto 0px; background: #FFFFFF; border-radius: 2px; -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); box-sha...原创 2020-03-26 17:34:37 · 2803 阅读 · 0 评论 -
Element tree 样式
/*设置鼠标悬浮经过的颜色*/ .el-tree-node:hover > .el-tree-node__content { background-color: #1C222B !important; } /*设置鼠标点击后的颜色*/ .el-tree-node:focus > .el-tree-node__content { ...原创 2020-02-18 14:26:48 · 865 阅读 · 1 评论 -
当元素高度为百分比时候,怎么让内容居中显示
元素添加样式 display: flex; justify-content: center; align-items: center;原创 2019-12-23 14:04:12 · 170 阅读 · 0 评论