4 ms·
this is neat, I've been using css grid a lot lately and I feel like it solved a big part of my annoyances with CSS, and yeah sure I don't see a use case for thi
by feluso 8y ago
this is neat, I've been using css grid a lot lately and I feel like it solved a big part of my annoyances with CSS, and yeah sure I don't see a use case for this thing in particular but it looks fun, and I'm sure someone else will
- disease 8y agoThe main reason I've been wanting this is to have panels that smoothly expand and collapse.
- dclowd9901 8y agoYou're building panels with a grid though?
- setr 8y agoMy 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?
- lexicality 8y agoHonestly, 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!