<link rel=”stylesheet” type=”text/css” media=”only screen and (max-device-width:480px)” href=”mobile.css” />
This will apply to any screen less than or equal to 480px
You then create a mobile.css style sheet that contains all the formatting for your mobile web site.
Using CSS3 media elements
by
Leave a Reply