How can I make a checkbox bigger?

后端 未结 6 1512
野趣味
野趣味 2021-01-04 20:26

My web page uses checkboxes. They appear very small. I tried to make them bigger by using \"font-size: 1.5em\". This didn\'t seem to change them at all.

Is there a

6条回答
  •  温柔的废话
    2021-01-04 21:28

    Sadly, CSS is kinda undefined with making possibilities of modifying them limited. Various browsers do things differently. width and height practically work on checkboxes only in Internet Explorer.

    Various solutions appeared, for example emulating checkboxes using JS, so those can be styled.

提交回复
热议问题