Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

A quick jQuery tool designed to help you keep track of what responsive breakpoint you're currently viewing.

Notifications You must be signed in to change notification settings

jeremyfuksa/media-query-debugger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

media-query-debugger

===================

A quick, lightweight jQuery plugin used for keeping track of the responsive breakpoints you're working with.

USAGE

===================

  1. Link to css/media-query-debugger.css or copy/paste the .mq-debug class into your master stylesheet.

  2. Place an empty

    right after the tag and give it a unique ID.

  3. Include js/jquery.media-query-debugger.js just before the tag.

  4. Place the following function right after the linked plugin (where "#debugger" is replaced by your unique ID):

    <script> $(document).ready(function(){ $('#debugger').mqDebug(); $(window).resize(function(){ $('#debugger').mqDebug(); }); }); </script>

You should now have a small badge that floats above your entire design that displays your current breakpoint every time it is resized.

About

A quick jQuery tool designed to help you keep track of what responsive breakpoint you're currently viewing.

Resources

Stars

Watchers

Forks

Packages

No packages published