Search code examples
cssfontsstylesheet

Css class definiing multiple fonts inside the same style


In my css class, I see this style defined:

.x-window-dlg .ext-mb-textarea {
    font:normal 12px tahoma,arial,helvetica,sans-serif;
}

Now tahoma,arial and helvetica are all different fonts. So which one will be applied when I choose this style?


Solution

  • If you list multiple font-families, the first will be selected. The others are fallbacks, in case the first fails to load.