Hacker News new | ask | show | jobs
by dredmorbius 736 days ago
Screen and print formats can be defined via @media rules. There are also media features which can be specified or queried of a user agent.

<https://developer.mozilla.org/en-US/docs/Web/CSS/@media>

Depending on the accuracy of the client, this could well give differing behaviours for desktop, mobile, and print output. HTML is flexible, very few designers seem willing to embrace this.