Daily Shaarli

All links of one day in a single page.

April 16, 2024

Use CSS to boost the font size of emoji with no extra markup – Terence Eden’s Blog

I want to make emoji bigger than the text that surrounds them. At my age and eyesight, it can be difficult to tell the difference between 😃, 😄, and 😊 when they are as small as the text.

Is there a way to use CSS to increase the font size of specific characters without having to wrap them in an extra <span> or similar?

Yes! Although it is a bit of a hack.