@DavidMorgade
Posted
Hello Raz, congrats on finishing the challenge!
Normally on a real project, you need to structure you CSS for 3 different type of sizes, mobile (375px to 768px), tablets (768px 1440px) and desktop (1440px+).
You can either take a mobile first approach, and build your site from a mobile device size, starting with no media querie usage, and then adapt it to tablet using @media (min-width: 768px)
, and then adapting to desktop using @media(min-width: 1440px)
. Or you could take the desktop first approach and start building your project from a desktop sizes, then adapt it to the other sizes using @media (max-width: 1440px)
for your tablet size styles and @media(max-width: 768px)
for your mobile size styles.
Hope my answer helps you! if you have any question don't hesitate to ask!
Marked as helpful
@PishoTo
Posted
@DavidMorgade Thanks so much, David! So, this means that for each page I am going to build this way, I will have 3 "versions" of it in the CSS file, right? There is no way around it.
Also, this doesn't necessarily guarantee that all the dimensions within each category (for example somewhere between the desktop size and the tablet size) will look great, correct?