表格隔行顯示背景
添加自定義CSS樣式:
table tr:nth-child(odd){background: #ccc;}
結果可設置奇數行背景 當需要偶數行背景時使用樣式:
table tr:nth-child(even){background: #ccc;}
添加自定義CSS樣式:
table tr:nth-child(odd){background: #ccc;}
結果可設置奇數行背景 當需要偶數行背景時使用樣式:
table tr:nth-child(even){background: #ccc;}
No account yet?
Create an Account