What are the benefits of using Head.js screen size detection instead of CSS3 media queries?
Head.js Screen Size Detection
.lt-1024 #hero { background-image: (medium.jpg); }
CSS3 @media query
@media only screen and (max-width: 1024px) {
#hero { background-image: (medium.jpg); }
}
When it comes to choosing between CSS and JavaScript for mobile design, which option is more reliable?