Responsive web design patterns are quickly evolving, but there are a handful of established patterns that work well across the desktop and mobile devices.
Most layouts used by responsive web pages can be categorized into one of five patterns: mostly fluid, column drop, layout shifter, tiny tweaks, and off canvas. In some cases, a page may use a combination of patterns, for example column drop and off canvas. These patterns, originally identified by Luke Wroblewski, provide a solid starting point for any responsive page.
For simplicity and ease of understanding, each the samples in this tutorial were created with real markup using flexbox, typically with three content div's contained within a primary container div. Each sample was written starting with the smallest view first, and breakpoints were added when necessary. The flexbox layout mode is well supported for modern browsers, though may still require vendor prefixing for optimal support.