Javascript Browser Object Model Window matchMedia

Javascript examples for Browser Object Model:Window matchMedia

Description

Click the following links for the tutorial for Browser Object Model and Window matchMedia.

  1. Window matchMedia() Method - If the viewport is <=700 pixels wide, change the background color to yellow.
  2. Window matchMedia() Method