How can I change the color of thing tick inside a checkbox? This is what I have done:
.ant-checkbox-checked .ant-checkbox-inner {
color: #000000;
background-color: #008000;
}
.ant-checkbox-checked .ant-checkbox-input {
color: #000000;
background-color: #000000;
}
Add this css to your styles:
.ant-checkbox-checked .ant-checkbox-inner:after {
border-color: red !important;
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.