深度选择器
如果您希望scoped样式中的选择器“深入”,即影响子组件,则可以使用>>>组合器:
>>> .ivu-table-stripe-odd td{
background-color:
#ecf3fd!important;
border-bottom: 0;
}
某些预处理器(如Sass)可能无法>>>正确解析。在这些情况下,您可以使用/deep/组合器 - 它是别名,>>>并且完全相同。
/deep/ input {
width: 166px; text-align: center;
}