The media queries are a type of CSS syntax that allows us to set some styles that will only be applied if certain criteria are matched. We can turn them into optional lines of code that will only be shown to certain individuals or devices.
A media query is made up of a media type and one or more expressions that fit the type and criteria of a specific media feature like device width or screen resolution. Because media inquiry is a logical expression, it can either be true or false.
Media queries should always be included at the conclusion of your CSS code.
Media queries are an important part of responsive web design because they allow you to create different layouts depending on the size of the viewport. However, they can also be used to detect other aspects of the environment in which your site is running, such as whether the user is using a touchscreen instead of a mouse.
It is preferable to write the query near the bottom of the page because it is more important. This will relieve you of the worry of having to use important!
Learner's Ratings
4.3
Overall Rating
69%
15%
7%
4%
5%
Reviews
R
Rudra
4
Sir thanks a lot
S
Shubham Shinde
5
good
C
Chandan kumar sharma
4
aap jo is video me bata rahe hai ki pahle ye sab padha hai position ke bare me to kaha padhaye hai abhi tak wo sab ?
M
Monika Rana
5
Great Explaination!
V
Vishal
5
Its really good teacher
Best explanation
N
Neha Chaprana
5
all good
V
Vivek kumar
5
forums feature is not working ☹️
Q
Qitmeer Raza
5
This Course Is Very Helpful For Beginners !! THANKS, A LOT
Share a personalized message with your friends.