0
How to add media query in html file
Html 5 learning
3 Answers
+ 1
You can add media query in css file.
After all your styling finish.
Choose break point and set the changes for that breakpoint.
Let here you css style finished.
@media screen and (max-width:600px){
body{color:red;}
}
@media screen and (min-width:601px){
body{color:green;}
}
Now for width less than 600px red text
Above 600px green text.
+ 2
Thankyou..
0
By using <style> tags.