🎓 View our courses: https://scrimba.com/links/all-courses
This tutorial is a part of "The Responsive Web Design Bootcamp" on Scrimba. Explore the full course here: https://rebrand.ly/responsivebootcamp_yt
Percentages, when set on the width (which is where we'll be using them the most), are always calculated as a percentage of their parent's width.
This might seem to complicate matters, but once you get used to it, it's much easier to set up our layouts and, when dealing with responsive layouts, it's an essential unit to understand.