I’d like to tell the browser to use a font that is both monospace and sans-serif (usually the default monospace font has serifs, and the default sans-serif font isnt monospaced). Is there any way to specify this in CSS other than to provide a list of fonts I know to fit my criteria?
Share
CSS’s
font-familydoesn’t allow specifying more than one generic font keyword in a single font family name, so you’ll either have to go withmonospaceorsans-serif.