Theoretically you could attempt it with CSS.
There are conditions where you can check if the game is running on iOS, Android, PC etc. and then apply CSS styles based on that.
It's not that complicated on paper, especially if you have some knowledge of CSS, but you could end up opening a big can of worms with it.
An easy way could be to try and include a CSS reset / CSS normalize but it might not work in all cases depending on which you use.
A little bonus of sprite fonts is that they cost less performance than the regular text object :)