Skip to content
0
  • Definitions
    • Browse A–Z
    • Recently Added
    • Most Popular
    • Most Viewed
    • Word Lists
    • All Categories
  • Learn & Play
    • Hangman Game
    • Grammar Check
    • Common English Words
    • Words Containing "Black"
    • English Practice Chat
  • Articles
    • Evolution of Dictionaries
    • Business Jargon Decoded
    • Build Your Vocabulary
    • Word Etymology Guide
    • Commonly Confused Words
    • Medical Terminology
    • Legal Terminology
    • Business Communication
  • Definitions
    • Browse A–Z
    • Recently Added
    • Most Popular
    • Most Viewed
    • Word Lists
    • All Categories
  • Learn & Play
    • Hangman Game
    • Grammar Check
    • Common English Words
    • Words Containing "Black"
    • English Practice Chat
  • Articles
    • Evolution of Dictionaries
    • Business Jargon Decoded
    • Build Your Vocabulary
    • Word Etymology Guide
    • Commonly Confused Words
    • Medical Terminology
    • Legal Terminology
    • Business Communication
Collapse
Define Dictionary Meaning - True Words & Their Meanings
  1. Define Dictionary Meaning
  2. Categories
  3. Definitions
  4. Media Queries

Media Queries

Scheduled Pinned Locked Moved Definitions
1 Posts 1 Posters 298 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Dave Paprockiundefined Offline
    Dave Paprockiundefined Offline
    Dave Paprocki
    wrote on last edited by admin
    #1

    Media queries are a feature of CSS that enable webpage content to adapt to different screen sizes and resolutions. They are a fundamental part of responsive web design and are used to customize the appearance of websites for multiple devices.
    Media queries may be inserted within a webpages HTML or included in a separate .CSS file referenced by the webpage. Below is an example of a simple media query:
    @media screen and (max-width: 768px){  header { height: 70px; }  article { font-size: 14px; }  img { max-width: 480px; }}
    The media query above activates if a users browser window is 768 pixels wide or less. This could happen if you shrink your window on a desktop computer or if you are using a mobile device, such as a tablet, to view the webpage.
    In responsive web design, media queries act as filters for different screen sizes. Like all modules within a cascading style sheet, the ones that appear further down the list override the ones above them. Therefore, the default styles are typically defined first within a CSS document, followed by the media queries for different screen sizes. For example, the desktop styles might be defined first, followed by a media query with styles for tablet users, followed by a media query designed for smartphone users. Styles may also be defined in the opposite order, which is considered mobile first development.
    While min-width is by far the most common feature used in media queries, many others are available as well. Examples include min-device-width, min-device-height, aspect-ratio, max-color-index, max-resolution, orientation, and resolution. The resolution value, for instance, may be used to detect HiDPI displays (such as retina displays) and load high-resolution graphics instead of standard images.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    Look Up a Word

    Browse A–Z

    ABC DEF GHI JKL MNO PQR STU VWX YZ

    Popular Definitions

    1 Turban 2 Tripple 3 Blessing 4 Bonnet 5 Serendipity 6 Wanderlust 7 Nostalgia 8 Integrity
    View all popular

    Know a better definition?

    Share your knowledge with the community

    Add a Definition

    Explore More Definitions

    Browse our collection of 300,000+ community-written definitions

    Browse A–Z Most Popular Recently Added
    Define Dictionary Meaning
    Most Popular Words All Definitions Terms of Service Privacy Policy Browse Lists

    © 2026 Define Dictionary Meaning. All rights reserved

    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post