An Interest In:
Web News this Week
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
- April 19, 2024
February 20, 2017 03:52 pm GMT
Original Link: https://css-tricks.com/squeezy-stretchy-flexbox-nav/
Squeezy Stretchy Flexbox Nav
I saw an interesting take on off-canvas navigation the other day over on The New Tropic. It wasn't the off-canvas part so much. It was how the elements within the nav took up space. They stretched out to take up all the space, when available, but never squished too far. Those are concepts that flexbox makes pretty easy to express! Let's dig in a little.
Here's the nav, a video showing what I mean:
My favorite part is how …
Squeezy Stretchy Flexbox Nav is a post from CSS-Tricks
Original Link: https://css-tricks.com/squeezy-stretchy-flexbox-nav/
Share this article:
Tweet
View Full Article