Skip to content
CSS Head
CSS links, tutorials, code and demos for web designers and developers
    About Archives Contact Privacy and Cookies Policy Submit a Link Submit Community News
CSS Head
CSS links, tutorials, code and demos for web designers and developers
Home Submit a Link Contact About

Tag: size

How to detect screen size and apply a CSS style

August 31, 2009

I needed today to format the content differently according to the screen resolution of the user. So I thought that just by detecting the screen width using the screen.width property, I could change the stylesheet using jQuery. And so it was. Check the example and continue reading…

csshead comment 0 Comments