Media Forms were implemented in CSS2.

The @media rule, which was implemented in CSS2, allowed different style rules to be specified for different media types.

For instance, one set of style rules could be used for computer screens, another for printers, another for portable devices, another for television-type devices, and so on.

Except for print media, these types of media have never received much support from smartphones.
Media Queries were introduced in CSS3 for the first time.

Instead of searching for a particular device type, media queries in CSS3 look at the device’s capabilities.

(Is your tablet or phone in landscape or portrait mode?)
a decision

Using media queries to deliver a personalized style sheet to desktops, laptops, tablets, and mobile phones is a common practice (such as iPhone and Android phones).

Checkout our channel for more cool tutorials & also subscribe
https://www.youtube.com/c/Tech2etc/videos

#css #media-query #html

Learn CSS Media query CSS
5.35 GEEK