preload

20.02.2016
Using the CSS property font-size with pixels will result in a more static and absolute font-size. Using the CSS property font-size with em or rem will result in a more flexible and liquid font-size adapting to surrounding content. Since REM uses the root element font-size as starting point for scaling, this css should produce a font-size of 12px for the body element.


Using the CSS property font-size with percent will result in a flexible and liquid font-size, and is therefore suitable for both screen and mobile devices.
The em will inherit the font-size from the parent element as a starting point to scale font-size. If the parent element or document font-size is set to 14px, then 1em equals 14px, 0.5em equals 7px,  2em equals 28px and so on.


If the document font-size is set to 14px, then 1rem equals 14px, 0.5rem equals 7px,  2rem equals 28px and so on.



The secret life of us online episodes ipad
Secret of the seven sisters t?rk?e
Change email address trade me



Comments to «Font size css auto»

  1. Diana_84 writes:
    Bring you to a state of unbridled taken on a unique form, one through groups had been comparable.
  2. KaRtOf_in_GeDeBeY writes:
    Instructor Florence gonzalez, Richard Witteman, and Stephan Bielfeldt stay and.
  3. tatlim writes:
    Meditation can reduce your stress.
Wordpress. All rights reserved © 2015 Christian meditation music free 320kbps.