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 L. Jeffrey Zeldman

“King of Web Standards”—Bloomberg Businessweek. Author, Designer, Founder. Employer Brand at Automattic. Publisher, AListApart.com & ABookApart.com. Ava’s dad. Pete’s brother (RIP). He/him.

%d bloggers like this: