大家好,又见面了,我是你们的朋友全栈君。
数学里面的奇数偶数,上代码
tr td:nth-of-type(odd){ margin-left: 20px;}奇数行
tr td:nth-of-type(even){
margin-left: 10px;}偶数行
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/157520.html原文链接:https://javaforall.net
css3奇偶选择器[通俗易懂]数学里面的奇数偶数,上代码trtd:nth-of-type(odd){margin-left:20px;}奇数行trtd:nth-of-type(even){margin-left:10px;}偶数行
大家好,又见面了,我是你们的朋友全栈君。
数学里面的奇数偶数,上代码
tr td:nth-of-type(odd){ margin-left: 20px;}奇数行
tr td:nth-of-type(even){
margin-left: 10px;}偶数行
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/157520.html原文链接:https://javaforall.net