Second HTML selection font

This may be a little basic. Sorry for this, but I was wondering if it is possible that the second font we specify in HTML (using font / font-family) may have a different font size.

Eg. Use Lucida Grande, size 13 or Arial, size 14, if it was not found

+4
source share
1 answer

This related question: Font-Family-based font resizing with jQuery cites this javascript font detection library: http://www.lalit.org/lab/javascript-css-font-detect combined with jQuery (Javascript library) to achieve what you are looking for.

+1
source

Source: https://habr.com/ru/post/1308965/


All Articles