How can I change the selected checkbox to be highlighted in yellow when I checkbox is clicked inside the checkboxgroup? thanks.
1 Answer, 1 is accepted
0
Alexander
Telerik team
answered on 09 Feb 2022, 05:33 PM
Hi Corian,
Thank you for the provided information.
You can change the checkboxes' color by utilizing the following CSS rule for the common classes that are generated by Kendo. For example:
<style>
.k-checkbox:checked {
border-color:yellow; //configures the color of the checkboxesbackground-color: yellow; //configures the background color of the checkboxescolor: white;
box-shadow: 0002px rgba(255,99,88,0.3); //configures the box shadow
}
</style>
In addition, here is a Telerik REPL example that illustrates the mentioned above.