Percentages: Height & Width, Codecademy, Learn Responsive Design, Sizing Elements

Lesson Summary

In this lesson we dive into utilizing percentages for the height and width of our elements. When using percentages we can specifiy a child elements relative width and height to scale depending on the parents size. Using percentages helps us avoid absolute values, and hard coding values into our application and websites.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required