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
Bryton Wallace
9,665 PointsHelp
Elements that use percentages are relative to their _______ container.
idk why i can't find this
Arturo Romero
4,180 PointsIn fluid design your units are relative, so that each element can be relative to it parent.
For example a nav would be the parent of the links inside of the list tag.
Bryton Wallace
9,665 PointsThanks Guys!
2 Answers
Ricardo Hill-Henry
38,443 PointsI believe the answer should be "parent." For example, consider you have a smaller div placed inside a larger div. If you give the smaller div a height & width of 50% it will scale in relation to the larger div, because the larger div is its parent/container element.
Bryton Wallace
9,665 PointsThank you! That worked perfect and thanks for the explanation as well!
Omar Marion
4,390 Pointsthe answer is parent.
Sandro Meschiari
18,418 PointsSandro Meschiari
18,418 Pointsin which paragraph is this question? usually the answer are all on the video but try to put "default", or "own"