[英]How to CSS select Angular-Material table tbody?
I am trying to style an Angular material table's tbody
, but these selectors are not working:我正在尝试设置 Angular 材料表的
tbody
样式,但这些选择器不起作用:
.mat-table tbody
and table tbody
.mat-table tbody
和table tbody
Is their a way to style the tbody
only?他们只是一种风格的方式
tbody
?
~~Also, is their a way to wrap the tbody
inside a div
?~~ ~~另外,他们是一种将
tbody
包装在div
中的方法吗?~~
::ng-deep .mat-table{/*apply you css code here*/}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.