Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Le Var Range
Front End Web Development Techdegree Student 18,011 Pointsquiz challenge confusion.
there was I question I came across that confuses me.
Which css declaration will prevent your layout from becoming wider than 1150px ?
a @media (max-width: 1150px) {}
b min-width: 1150px;
c max-width: 1150px;
I am confused about the answer being C.
2 Answers
jacobproffer
24,604 PointsOption a will only apply styling to elements once the browser has reached 1150px. Option b sets the minimum width of an element to 1150px (No smaller than 1150px). Option c sets the max width of an element to 1150px (No wider than 1150px).
Le Var Range
Front End Web Development Techdegree Student 18,011 PointsThanks for your help ..... happy codings!!!!!