Dirty Trix [1]: Trivial sizing via CSS

Want to make something bigger? Smaller?

Let’s make a double-sized checkbox…

<$checkbox class="my-checkbox" ... />

CSS

.my-checkbox input[type=checkbox] { scale:2; }

I said it was trivial :slight_smile:

4 Likes