how to make small fonts in css code example Example 1: font size css .class { font-size: 12px; } Example 2: css font-size #selector{ font-size:20px; }