- 博客(3)
- 收藏
- 关注
转载 深入理解css优先级
原文:https://www.cnblogs.com/starof/p/4387525.html先来看几个例子:<html><style type="text/css">body h1 { color: green;}html h1 { color: purple;}</style><body> <h1>Here is a title!</h1></body></html>
2021-04-29 17:54:45
278
转载 10种水平垂直居中对齐方式
原文 :https://yanhaijing.com/css/2018/01/17/horizontal-vertical-center/目录 居中元素定宽高适用 absolute + 负margin absolute + margin auto absolute + calc 居中元素不定宽高 absolute + transform lineheight writing-mode table css-table flex grid 为了实现.
2021-04-29 17:18:02
276
转载 flex 布局详解
原文链接:https://www.ruanyifeng.com/blog/2015/07/flex-grammar.html概念弹性盒模型,设为 flex 布局以后,子元素的float、clear和vertical-align属性将失效。属性一览.box{ display: flex;} 容器( box ) 属性 属性名 属性含义 属性值 flex-direction 决.
2021-04-28 18:24:51
66
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人