Thursday, April 21, 2016

Media Queries

Being able to detect device state at any given moment is important for any number of reasons and so it's important that web app CSS and JavaScript are in sync with each other. In working on my website , I found that there are many media queries, although helpful, sometimes very unhelpful. Is the user viewing the site in desktop, tablet, or phone screen size? Easy from a CSS perspective but CSS doesn't directly speak with JavaScript.

No comments:

Post a Comment