Learning Less.js by 2014
Author:2014
Language: eng
Format: mobi, epub
Publisher: Packt Publishing
Ready to have some fun creating media queries? Let's get started!
Introducing media queries
If you've ever spent time creating content for sites, particularly for display on a mobile platform, then you might have come across media queries.
For those of you who are new to the concept, media queries are a means of tailoring the content that is displayed on screen when the viewport is resized to a smaller size. Historically, websites were always built at a static size—with more and more people viewing content on smartphones and tablets, this means viewing them became harder, as scrolling around a page can be a tiresome process!
Thankfully, this became less of an issue with the advent of media queries—they help us with what should or should not be displayed when viewing content on a particular device. Throughout this chapter, we'll take a brief look at what they are, how they work, and focus more on how you can use Less to create them.
Almost all modern browsers offer native support for media queries—the only exception being IE Version 8 or below, where it is not supported natively:
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7802)
Grails in Action by Glen Smith Peter Ledbrook(7716)
Configuring Windows Server Hybrid Advanced Services Exam Ref AZ-801 by Chris Gill(6752)
Azure Containers Explained by Wesley Haakman & Richard Hooper(6751)
Running Windows Containers on AWS by Marcio Morales(6268)
Kotlin in Action by Dmitry Jemerov(5087)
Microsoft 365 Identity and Services Exam Guide MS-100 by Aaron Guilmette(5016)
Combating Crime on the Dark Web by Nearchos Nearchou(4600)
Microsoft Cybersecurity Architect Exam Ref SC-100 by Dwayne Natwick(4525)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4435)
The Ruby Workshop by Akshat Paul Peter Philips Dániel Szabó and Cheyne Wallace(4278)
The Age of Surveillance Capitalism by Shoshana Zuboff(3968)
Python for Security and Networking - Third Edition by José Manuel Ortega(3844)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3524)
The Ultimate Docker Container Book by Schenker Gabriel N.;(3509)
Learn Wireshark by Lisa Bock(3442)
Mastering Python for Networking and Security by José Manuel Ortega(3371)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3346)
Blockchain Basics by Daniel Drescher(3317)
