Applying Comic Sans Ms font style

user2953119 picture user2953119 · Jan 24, 2014 · Viewed 118.5k times · Source

How to write a CSS font style for the following text decoration:

enter image description here

font-family: Comic Sans MS CSS rule doesn't work.

Answer

Guffa picture Guffa · Jan 24, 2014

The font may exist with different names, and not at all on some systems, so you need to use different variations and fallback to get the closest possible look on all systems:

font-family: "Comic Sans MS", "Comic Sans", cursive;

Be careful what you use this font for, though. Many consider it as ugly and overused, so it should not be use for something that should look professional.