Min width | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Min width

How much does min-width i need in media query css, for desktop or laptop size screen. @media screen and (min-width: ) { }

23rd Dec 2021, 2:24 AM
EsaKurniawan
2 Answers
+ 3
min-width 768px for desktop and laptop
23rd Dec 2021, 5:12 AM
Gordon
Gordon - avatar
0
Max-width and min-width can be used together to target a specific range of screen sizes. @media only screen and (max-width: 600px) and (min-width: 400px) {...} The query above will trigger only for screens that are 600-400px wide. https://www.w3schools.com/css/css_rwd_mediaqueries.asp https://www.emailonacid.com/blog/article/email-development/emailology_media_queries_demystified_min-width_and_max-width/
23rd Dec 2021, 2:26 AM
JOKER
JOKER - avatar