Skip to content
Discussion options

You must be logged in to vote
  • is it possible to use different variants for native radio, checkbox?
  • I try focus-ring focus-ring-secondary, but when click outline become primary color

Hello sysmat,

That's a good question. You've correctly observed that while you can use focus-ring utilities, they don't always override the native browser's focus outline on default radio and checkbox inputs.

This happens because the native focus style is often managed directly by the browser and isn't fully controllable with Bootstrap's utility classes. These utilities are mainly designed to style the custom form components that Bootstrap provides, not the native ones.

To fix this, you'll need to use some custom CSS to target the :foc…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sysmat
Comment options

Answer selected by sysmat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants