April 2012
Pure CSS3 Post Tags
February 2012
January 2012
December 2011
CSS3, Please! The Cross-Browser CSS3 Rule Generator
Loading CSS spinners and bars generator for AJAX & JQuery
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
Font sizing with rem - Snook.ca
Font sizing with rem
What do we do for browsers that don't support rem units? We can specify the fall-back using px, if you don't mind users of older versions of Internet Explorer still being unable to resize the text (well, there's still page zoom in IE7 and IE8). To do so, we specify the font-size using px units first and then define it again using rem units.
html { font-size: 62.5%; } body { font-size: 14px; font-size: 1.4rem; } /* =14px */ h1 { font-size: 24px; font-size: 2.4rem; } /* =24px */
April 2011



















