Apply style to only first level of td tags

后端 未结 7 1781
执念已碎
执念已碎 2020-12-13 03:29

Is there a way to apply a Class\' style to only ONE level of td tags?



7条回答
  •  庸人自扰
    2020-12-13 03:57

    I think, It will work.

    .Myclass tr td:first-child{ }
    
     or 
    
    .Myclass td:first-child { }
    

提交回复
热议问题