Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.


Responsive Layouts Course

via Treehouse


Responsive web design is a collection of techniques for building websites that work on multiple screen sizes. In these lessons, we're going to use the foundational principles of responsive design as a framework for thinking about page layout. By the end, you should have a better understanding of how to approach common decisions in responsive design.

What you'll learn

  • Responsive design theory
  • Media queries
  • Breakpoints
  • Page layout


Responsive Theory

In general, responsive design consists of fluid grids, fluid images, and media queries. By this point, you should have already done some responsive design, but understanding the origins and foundational principles will help you step into more advanced concepts.

Chevron 5 steps
  • Course Overview


  • What is Responsive Web Design?


  • What is Responsive Web Design?

    3 questions

  • Thinking in Relative Units


  • Thinking in Relative Units

    4 questions

  • Extra Credit

    If you have an older website that's built using fixed units like pixels, try converting it to relative units, like percentages or ems. Alternatively, you could create a wireframe and then try using percentages to express it using relative units.

Media Queries

Media queries are CSS rules that help us include CSS code only when certain conditions are met. These conditions are called media features, and in the case of responsive web design, the media feature most commonly used is width, or more specifically, min-width. However, media queries actually come with many media features, and width is just one of them.

Chevron 5 steps
  • Media Query Review


  • Media Query Review

    4 questions

  • Understanding Breakpoints


  • Creating Breakpoints


  • Creating Breakpoints

    4 questions

  • Extra Credit

    Fork the template provided in the Workspaces associated with this course, and then remove all the media queries. Next, try creating your own breakpoints based on the content. Finally, test your breakpoints on any web browsing devices you have available.

Responsive Patterns

It's important to consider how different design patterns will translate from one breakpoint to another. Thinking about pieces of atomic design, such as tabs or an image carrousel, is a great way to break down a responsive layout into its component parts.

Chevron 3 steps
  • Responsive Design Patterns


  • Flexbox


  • Responsive Design Review

    6 questions

  • Extra Credit

    Fork the responsive template included in the Workspaces associated with these lessons. Then, try converting the layout to use flexbox instead of floats.

Related Courses


Start your review of Responsive Layouts Course

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free