css - HTML 5 fonts sizes -


i want make website mobile how can make font sizes stretches mobile screen's resolutions

<!doctype html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> p{font-size:1em; /* font-size:20px; */ } </style> </head>  <body>  <p> lorem ipsum dummy text of printing , typesetting industry. lorem ipsum has been industry's standard  dummy text ever since 1500s, when unknown printer took galley of type , scrambled make type specimen book. has s urvived not 5 centuries, leap electronic  . </p>  </body> </html> 

use em instead of px

example:

font-size: 1.1em; 

Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -