Video
Absolute vs. Relative Units
Learn the difference between absolute and relative units in web development and when to use which type of unit.
Build
3.5 min

In this video

Understand that absolute units, like pixels, do not adapt to changes in viewport size, while relative units, such as percentages, adjust dynamically based on their parent container. 


Watch how resizing elements using relative units can make a site more responsive and flexible.