News for hackers. Stuff that matters.
Re:Animating CSS Grid by disease on Friday January 18, 2019 @10:13AM (#18939810)
The main reason I've been wanting this is to have panels that smoothly expand and collapse.
Re:Animating CSS Grid by dclowd9901 on Friday January 18, 2019 @11:24AM (#18940374)
You're building panels with a grid though?
Re:Animating CSS Grid by setr on Friday January 18, 2019 @07:22PM (#18944362)
My WebDev knowledge is quite poor but it seems natural to me that if you have slack-like sidebars, where they tend to be optional but non-temporary, the ideal solution would be 2 css-grids, and a way to switch between them. Even if it were temporary, like a shop using a sidebar for its menu , it still seems intuitively the preferred solution. Essentially just flipping between grid-states.

This is assuming you're actually dealing with a grid, and not some kind of floating pop-over panel eg a drop-down menu panel

How would you go about it? Maybe more importantly, how would you want to go about it?

Re:Animating CSS Grid by lexicality on Saturday January 19, 2019 @05:38AM (#18946345)
Honestly, for sidebars I'd use flexbox.

For anything where you only need to control one dimension, flexbox is way easier and cleaner. Plus you can animate it!