Answer the question
In order to leave comments, you need to log in
How to make different fonts for different browsers?
Good afternoon.
How can I make Safari display a different font, and chrome, for example, another one? Should this be done with javascript?
Answer the question
In order to leave comments, you need to log in
Check which browser via JS, add a class to the html tag, for example:
And then do what you need in css:
body {
font: Arial, sans-serif;
}
.browser-safari body {
font: Helvetica, sans-serif;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question