Topic: change checkbox color dynamically
michelle_126 priority asked 9 months ago
checkbox default backgroud-color is blue in color, and I have 3 checkbox, which is checkbox A, checkbox B and checkbox C. may i know how to change checkbox back-ground color to red for checkbox B when i click button and NOT effect to checkbox A and checkbox C?
Just use selector with id in your CSS. Here is the snippet https://mdbootstrap.com/snippets/standard/d-wajszczuk/3743202#css-tab-view.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.10.2
- Device: Desktop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No