how to apply css properties on a checkbox when clicked : What i want is to make checkbox look different when someone click it like changing their color, making texts bold or something else. I am confused whether i should use some function or their some predefined function or any other method.

I have gone through these questions

[css checkbox style for border color ](https://stackoverflow.com/questions/41757006/css-checkbox-style-for-border-color)

and
[How to change checkbox's border style in CSS?](https://stackoverflow.com/questions/2460501/how-to-change-checkboxs-border-style-in-css)

but couldnot find anything beautiful

I am new to stackoverflow and not aware about the rules and regulation so forgive if i do something wrong