Width: Minimum & Maximum, Codecademy, Learn Responsive Design, Sizing Elements

Lesson Summary

In this lesson we go over min-width and max-width. Relative measurements provide perpetual layouts accross different devices but this can cause them to lose integrity when they become to large or small. This makes min-width and max-width come in handy. If you want to set a max width and min width for your element so that it never drops below a certain width, min and max width are your go to measurements!