Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Also, if the name had been two words, it would need to be quoted, right?

e.g. this wouldn't work either?

    font-family: Times New Roman;
Edit: Well this and just "times" does work fine, which makes me wonder if it's been special cased due to being an older font, or if the matching is very permissive.


The matching is very permissive, and the example just works: https://codepen.io/leo848blume/pen/RNrppdj


For me it defaults to Times New Roman when it doesn't understand the font, so to check if it indeed works I had to change the default font in my browser





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: