Categories
Code CSS CSS3 Web Design

Must-read: Switching the display of content and navigation based on browser size

JEREMY KEITH: “Right after I wrote about combining flexbox with responsive design—to switch the display of content and navigation based on browser size—I received an email from Raphaël Goetter. He pointed out a really elegant solution to the same use-case that makes use of display:table.”

Elegant indeed! Follow the delightfully simple code and explanation at Adactio: Journal—Re-tabulate.

By Jeffrey Zeldman

“King of Web Standards”—Bloomberg Businessweek.

Designer at Automattic, Inc. Co-Founder, An Event Apart. Publisher, A List Apart & A Book Apart. Author. Father. He/him.