owenversteeg / min

the world's smallest (995 bytes) CSS framework
http://mincss.com
1.2k stars 107 forks source link

Small button not really small #76

Open p3k opened 1 year ago

p3k commented 1 year ago

To reproduce:

  1. Copy the min.css code from the customized download section (Headings, Buttons, Forms)
  2. Copy the code for a small button from the docs (<a class="btn btn-b btn-sm smooth">btn-sm</a>)
  3. Compare with a button without the btn-sm class
Actual output Expected output
image image

CodePen

Looks like the desired size for the small button (14px) is overridden by the .btn, h2 selector (2em):

image