17 lines
450 B
Plaintext
17 lines
450 B
Plaintext
transition : 元素从一种状态到另外一种状态发生改变的时候,为他添加上一个平滑的过渡效果。
|
||
|
||
|
||
四个数值:应用过渡的CSS属性的名称(all) 变化持续的时间 动画的效果 延迟时间
|
||
|
||
|
||
text-decoration: none; 清除a标签默认的下划线
|
||
|
||
outline: none; 清除input被选中时候外面的边框
|
||
|
||
box-sizing : https://www.cnblogs.com/tianmuxi/p/9076373.html
|
||
|
||
:first-child
|
||
|
||
:nth-child(n)
|
||
|
||
:last-child |