Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8752255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:11:54+00:00 2026-06-13T13:11:54+00:00

respond.js or css3-mediaqueries.js ? The official documentation, especially that of css3-mediaqueries.js, is sparse. Reading

  • 0

respond.js or css3-mediaqueries.js ?

The official documentation, especially that of css3-mediaqueries.js, is sparse. Reading on SO, forums and blogs I have summarized these pros and cons.

respond.js

Pros:

  1. More reliable (? recommended by Modernizr , Twitter Bootstrap 3 and H5BP )
  2. Lighter (4kb) and faster
  3. Interpret mediaquery in any context (<link>, inline CSS, @import-ed CSS)

Cons:

  1. Doesn’t update on window resize
  2. Supports only min-width and max-width
  3. Doesn’t support em units (huge weak point!)

css3-mediaqueries.js

Pros:

  1. Reacts in real time (on resize too!)
  2. Supports em units (really? anyone tested it?)

Cons:

  1. Heavier (15kb) and slower
  2. Interpret only inline CSS with a explicitly declared media-type
  3. Lacks detailed documentation and the project seems abandoned

Does anyone have points to add to the list, or personal experiences to share, or a particular preference for one or the other script? If so, why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:11:55+00:00Added an answer on June 13, 2026 at 1:11 pm

    I created a test page, including Mediatizr too.

    If anyone is interested, here’s the test page, and these are the results (tested on IE8 and IE7).


    css3-mediaqueries.js

    Pros

    1. Supports min, max and min+max mediaqueries
    2. Supports px and em values
    3. Reacts on window resize
    4. Elaborates on-page CSS (<style>) and external stylesheets

    Cons

    1. Doesn’t support width mediaquery
    2. Doesn’t elaborate <link media="screen and ..."> nor @imported stylesheet

    respond.js

    Pros

    1. Supports min, max and min+max mediaqueries
    2. Supports px and em values
    3. Reacts on window resize
    4. Elaborates external stylesheets only

    Cons

    1. Doesn’t support width mediaquery
    2. Doesn’t elaborate on-page CSS, <link media="screen and ..."> nor @imported stylesheets
    3. It may cause a javascript error when combined with jQuery on load events, to solve it you need to place the script at the end of the page

    mediatizr.js

    Simply..doesn’t work


    In the end I opted for css-mediaqueries.js, conditionally loaded with Modernizr.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two DIV tags namely respond-1 and respond-2. I want to select these
I have added respond.js to activate media queries in ie7+8, the problem that Im
I have a library that needs to respond to exceptions in different ways depending
I have a function that animates dom elements with CSS3 if available. Now i
I was told that Respond.Redirect is an expensive process because it raises a ThreadAbortException.
How can I respond with a .xls file? Do I have to generate it
I need to have the white blocks respond to click and hover events but
I'm looking to respond to XML. In my show action, I have something like
I'd like to have Javascript respond to a keypress or keydown event from only
I would like to have my application respond to the market link for my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.