Different Stylesheets for Differently Sized Browser Windows without Javascript

Different Stylesheets for Differently Sized Browser Windows without Javascript

Chris Coyier wrote an article about how to use different style-sheets for differently sized browser windows without java-script. There is a W3C standard way of declaring them. One way is to test the device width with css and another way is with jQuery. The only one problem is using the css technique is IE doesn’t support this.

website url

Share with Friends
[Facebook] [Jamespot] [Reddit] [StumbleUpon] [Twitter] [Email]

2 thoughts on “Different Stylesheets for Differently Sized Browser Windows without Javascript”

  1. wow this is really cool. I will definitely be using this tutorial in a future project. thanks for sharing.

    I have always done it with Javascript but achieving it with CSS seems like a much better alternative.

Leave a Reply

Your email address will not be published. Required fields are marked *