Increase bootstrap custom-control custom-switch size only with css

后端 未结 2 618
我在风中等你
我在风中等你 2021-01-16 20:56

Hello I\'m trying to increase the size of a custom-control custom-switch element only with css but it\'s not working.

My custom-switch now is the default size like

2条回答
  •  情深已故
    2021-01-16 21:06

    To simply change the size, I think one can scale on the custom-control-input class.

    .custom-control-input {
      transform: scale(1.4);
    }
    

提交回复
热议问题