Black Friday sale is now on! 50% off Laravel: The Modular Way. Learn more

Media Queries

David Carr

Development

    Been looking into media queries today I've heard the term for awhile but never took the time to look into what media queries actually are and what can be done with them until today after I saw a really good presentation on Adaptive Systems from Simon Collison at Hull Digital Live conference.

    Media queries expands on media types which never really took off apart from print media types, Media queries let you create specific styles for specific conditions, for instance you can detect the size of the viewpoint and change the layout accordingly letting you easily modify a layout on a mobile device with little work.

    Some good examples of this are: (try resizing the browser)

    I have to admit I'm really not surprised media query is not supported in Internet Explorer 8 or older. IE has a history of not supporting techniques that other browsers support such as some css2/3 specs thankfully their are workarounds according to Web Designers Wall:

    Media Queries Resources

    Laravel Modules Book by David Carr

    Help support the blog so that I can continue creating new content!

    Subscribe to my newsletter

    Subscribe and get my books and product announcements.

    © 2009 - 2022 DC Blog. All code MIT license. All rights reserved.