× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

CSS media queries - use them sparingly!

Dave Nattriss
Jun 15, 2015
<p>Remember to try to only use media queries when necessary. You probably only need one or two at most, apart from small exceptions.<br> <br> Start by defining default rules for your assumed (default) screen size - traditionally this would be desktop, withoout any media queries. Then in typical CSS style, use a media query to make adjustments for when the screen size is different - traditionally this would be when the screen size is smaller.</p>
comments powered by Disqus