html - css - Two fonts in one page for two languages -


i'll explain myself. want users able write (in inputs, etc.) in 2 languages, hebrew , english. website can in english entirely user still type in hebrew , vice versa. basically, have no way of knowing in language user type in input box, want matching font each 1 of languages (so input box looks pretty both in english , in hebrew).

so, how can have 2 fonts 2 languages in 1 element?

btw: answer not :lang(he). doesn't automatically detect language, html attribute lang. it's same writing [lang=he]

as far know, should happen automatically. assign both fonts this: font-family: 'arial', 'arial (hebrew)'; @ this example.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -