You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are no keywords in the font-detect-rhl font lists, so it is recommended that they be wrapped in quotes. Earlier examples did not do so (my fault). Most do also work perfectly fine without quotes, except where special characters are in the font name.
On the other hand a font request for a keyword placed in quotes, like 'sans-serif', will look for a font by that specific name instead of applying the keyword. When not found, with no additional fallback font the default system font or browser's standard font will be applied. That could coincidentally be a sans-serif font (e.g., Arial), though it might be a monospace font (e.g., Courier), or a serif font (e.g., Times New Roman), or another type.
Here is an updated tailwind example showing one approach to taking keywords into account and adjusting on whether or not to apply quotes.
The text was updated successfully, but these errors were encountered:
There are no keywords in the font-detect-rhl font lists, so it is recommended that they be wrapped in quotes. Earlier examples did not do so (my fault). Most do also work perfectly fine without quotes, except where special characters are in the font name.
On the other hand a font request for a keyword placed in quotes, like
'sans-serif'
, will look for a font by that specific name instead of applying the keyword. When not found, with no additional fallback font the default system font or browser's standard font will be applied. That could coincidentally be asans-serif
font (e.g., Arial), though it might be amonospace
font (e.g., Courier), or aserif
font (e.g., Times New Roman), or another type.Here is an updated tailwind example showing one approach to taking keywords into account and adjusting on whether or not to apply quotes.
The text was updated successfully, but these errors were encountered: