Skip to content
Advertisement

Increasing the size of a bootstrap checkbox

I am creating a simple check box with the code from the official bootstrap documentation:

JavaScript

I am wondering how to make the checkbox larger than it currently is? I have tried editing the css of customCheck and changing the height and width properties, but that does not increase the size of the box.

Advertisement

Answer

It is not a good idea to change bootstrap components dimensions, you should change variables in bootstrap but it means to recompile library. Anyway what you want can be done i this way:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement