This is a nice hack ..

Akshat Goel

On Wed, Jun 22, 2011 at 2:06 PM, Narendra Sisodiya <
[email protected]> wrote:

> So finally an evil hack
>
> $("body").css("fontSize", $(window).width() * 0.01 );
>
> $(window).resize(function(){
>         $("body").css("fontSize", $(window).width() * 0.01 );
> });
>
> Set rest of the font-size in percentage.
>
> Demo : http://code.narendrasisodiya.com/web/fonts/
>
> --
> ┌─────────────────────────┐
> │    Narendra Sisodiya
> │    http://narendrasisodiya.com
> └─────────────────────────┘
>
> --
> Mailing list guidelines and other related articles:
> http://lug-iitd.org/Footer
>



-- 
aks

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to