javascript - Larger checkboxes on mobile browser -


i have looked through many q&a here on stackoverflow , other sources how make larger checkbox. solutions provided not show simple checkbox bigger.

there many solutions. many several years ago. different.

i interested in creating checkboxes 2x or 3x larger on mobile device. in fact if larger on desktop browsers fine also.

what best way larger checkbox in 2016?

i don't want "weird" checkboxes there funny looking check mark, or "alternative checkmark".

just normal checkbox... larger. also... text describing checkbox should align properly.

thanks

you can scale html element transform scale... checkbox html element, can scaled , can specify different scales relative different viewports in order make scaling compatible device views on..

input[type=checkbox]  {  -ms-transform: scale(2); /* ie */  -moz-transform: scale(2); /* ff */  -webkit-transform: scale(2); /* safari , chrome */  -o-transform: scale(2); /* opera */ } 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -