[笔记] css 备注

表格 tr 隔行换色

table tr:nth-child(odd){background:#FFF;}  
table tr:nth-child(even){background:#F4F4F4;}  

transition 渐隐和背景过度

.div {
    transition: background-color 0.5s ease-out,opacity 0.5s;
More »