css
我的哥哥呦
不断学习,热爱学习的前端菜
展开
-
less中使用last-child选择器
css:.search{ .time{ &:first-child{ margin-left: 0px !important; } &:nth-last-child(2){ margin-left: -12px !important; } } }html:<divclass="search"><divclass="time">...原创 2020-07-22 14:09:53 · 15899 阅读 · 0 评论 -
ElementUI的Form表单居中
/deep/.el-dialog__body{ display: inline-block;}多次尝试发现改不了css,应在前面加上/deep/原创 2020-07-21 14:57:07 · 21690 阅读 · 2 评论 -
高度百分比时如何设置文字垂直居中
display: flex;justify-content: center;align-items: center;原创 2019-09-18 14:16:31 · 972 阅读 · 0 评论