I am working on a project where I need to change font style and size according to user need like if the user's devices have large font-size than font-size of web pages also large.
For example, your android or ios device has base fonts-size like below
main heading - 18px secondary heading - 16px content - 14px
and your web main page Font-size is
main heading - 16px secondary heading - 18px content - 12px
Now I want to detect the android or ios device font-size to change my web page font size.