设置tr的间距:
.tr {display:block;
margin-bottom:20px;}
}
设置td的宽度:
.td1 {display:inline-block;
width: 30%;}
.td2 {display:inline-block;
width:70%;}
first-child表示选择列表中的第一个标签。例:
li:first-child{background:#090}
last-child表示选择列表中的最后一个标签。例:
li:last-child{background:#090}
nth-child(3)表示选择列表中的第3个标签。例:
li:nth-child(3){background:#090}
nth-child(2n) 这个表示选择列表中的偶数标签,即选择 第2、第4、第6…… 标签。
持续更新中~~~