1 <div className={style['content-warp']}></div>
2 
3 <div className={style.search}></div>
4 
5 <div className={style['content-warp'] +' ' + style.search}></div>





//局部覆盖antd样式

.close-btn {
    
  width: 100%;
text-align:center;
[class~="ant-btn"]{
  width:80px;
height:25px;  
}  
}


还可以用

.name {
:global {

    .ant-btn {
  color:red;  
}
}

}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
  • 2021-11-15
  • 2021-09-15
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-29
  • 2022-12-23
  • 2022-12-23
  • 2021-05-03
  • 2021-11-25
相关资源
相似解决方案