My Bootstrap modal features multiple-choice options for users, presented as checkboxes. However, I want to customize the appearance so that when a user selects an option, it is highlighted rather than shown as a checkbox.
To achieve this look, I enlarged the checkbox and positioned it over the label while setting its opacity to 0. This method has been effective in creating the desired effect.
Now, I aim to have the entire row of the selected choices fill with color. For example, if a user clicks on 'foobar' and 'foo', both should be highlighted in red without any white space in between them.
The current challenge I am facing is getting the label to fill the row area without squeezing the spaces between selections. How can I ensure that the label fills the row area with a red background color when selected?