concept screen in category css

This is an excerpt from Manning's book CSS in Depth.
media query—An @media rule used to specify styles that will be applied only to certain screen sizes or media types (for example, print or screen). This is a key component of responsive design. See listing 2.15 for an example; I’ll cover this in greater depth in chapter 8.
The best practice is to create a few copies of an image, each at a different resolution. If you know, based on media queries, that the screen is a certain size, there’s no sense sending an extremely large image; the browser will have to downscale it to make it fit.
Most browsers now support srcset, but those that don’t will fall back to the specified src, loading whichever URL is specified there. This allows you to optimize for multiple screen sizes. Even better, the browser will make adjustments for higher resolution screens. If the device’s screen has a 2x pixel density, it can download a higher resolution image accordingly.