Live data from Hacker News

When will CSS Grid Lanes arrive?

webkit.org

11–20 of 29 posts

Re: When will CSS Grid Lanes arrive?

#11
post #6
post #3

Earlier quoted context omitted.

But css is not a “programming language” it’s a negotiation between browser engineers (who need to keep things fast and responsive) and web devs (who need to implement a fashionable design that is still distinguising for their brand)

I think you don’t need new CSS features to put AI generated content in jumbotron. I dislike the idea that CSS should be made more complex. Everyone is doing the same template with Jumbotron anyway. Pick the colors, pick imagery and name for the brand - doing some magic with CSS will only piss off people. Cookie cutter design is what I like. I can compare the companies when they all have the same template for a websit…

> Cookie cutter design is what I like. I can compare the companies when they all have the same template for a website.

Any reference?

Also I do feel like some people prefer animations. Maybe not the Hackernews crowd itself per se. But I think that having two options (or heck three the third one being really just pure html just text no styling maybe some simple markdown) is something good in my opinion.

Honestly I do feel like 1-2 animations are okay with a website but the award winning websites really over spam it in my opinion

I think maybe the amount of animations in https://css-tricks.com might be nice given that those guys/website teaches other people about animation themselves and have only 1 maybe 2 animations that I can observe interacting with their website and I do feel like that's for good reason (they don't want animations to be too distracting)

I personally don't know, I personally have never built any such websites but recently wanted to and I was looking at gsap tuturials on today & I do feel like one of the frustrations I feel is that these animations don't respect the browser sometimes to have animations (Scroll animations being the first one) but I even watched some designers talk about how much important scroll animations are (them betting that every award winning website has scroll animations)

Even https://ycombinator.com has a lots of animations & Css features & people on HN did love it from what I could tell. So to me, it does feel as if there is no one size fits all.

Re: When will CSS Grid Lanes arrive?

#13
post #9

Here's the famous 2004 article on why tables are bad.[1] Cool people do everything with break and div . The CSS crowd then spent two decades re-inventing tables. [1] https://www.hotdesign.com/seybold/everything.html

Tables are not responsive. They don't adjust to changing screen sizes. That was okay, maybe, when everyone was only on desktop/laptops but changed once mobile and tablets appeared.

Re: When will CSS Grid Lanes arrive?

#14
Did we really need that? I wonder if people recognize how bad the "standard committee" is and that we are held back by them. I can't hold in my mind how many features the web is missing that should be prioritized, I think I'll make a list and start a blog. The web deserve better

Re: When will CSS Grid Lanes arrive?

#15
A feature I want, that appearenly was attempted by some browsers but never stanardized. I want to be able to make a table that can responsively fill out columns.

    +-------+------------+  +-------+------------+  +-------+------------+
    | state | population |  | state | population |  | state | population |
    +=======+============+  +=======+============+  +=======+============+  
    |  AL   | ....       |  |  DE   | ....       |  | MI    | ....       |
    |  AK   | ....       |  |  FL   | .....      |  | MN    | ....       |
    |       |            |  |       |            |  |       |            |  
I need to put the heading at the top. It needs to make the heading sticky. As it is those, AFAIK there is no "easy" solution for this

Re: When will CSS Grid Lanes arrive?

#16
post #9

Here's the famous 2004 article on why tables are bad.[1] Cool people do everything with break and div . The CSS crowd then spent two decades re-inventing tables. [1] https://www.hotdesign.com/seybold/everything.html

Tables are not responsive. They don't adjust to changing screen sizes. That was okay, maybe, when everyone was only on desktop/laptops but changed once mobile and tablets appeared.

What? Tables are responsive, they auto adjust widths or columns, you can control which are fixed width and which are fluid.

Re: When will CSS Grid Lanes arrive?

#17
post #9

Here's the famous 2004 article on why tables are bad.[1] Cool people do everything with break and div . The CSS crowd then spent two decades re-inventing tables. [1] https://www.hotdesign.com/seybold/everything.html

Tables are not responsive. They don't adjust to changing screen sizes. That was okay, maybe, when everyone was only on desktop/laptops but changed once mobile and tablets appeared.

I definitely want to see that state+population table in mobile as a single element that I can just scroll to not 3 elements fighting for horizontal space thank you very much.

Re: When will CSS Grid Lanes arrive?

#18
post #10

This seems kind of redundant. I would just use flexbox for something like this. Grid is already an extremely rare item for me. I only ever use it when I need to control the overall layout for an app that has to work on a wide range of viewports. I'd never use grid just because it can do clever brickwork.

You very much cannot use flexbox for this. The whole point of these gridlanes is that not only can you have elements that automatically move across lanes when resizing the container, you can also have elements spanning multiple gridlanes and also fix the positions of elements in the grid, something wholly impossible in pure CSS flexbox. They link to the article[1] that even describes all the use cases this covers right below the first image.

Grid covers a lot of very subtle use cases that have historically required hacks like a list of select options where some can have icons on the left and some don't. You just need a subgrid that will automatically position every element in the select correctly to align them, regardless of whether there is an icon or not within the element in all select items. Previously you'd have to add a fixed width padding to the left and check if all the select items had icons. It also correctly scales the width and height of a row of items like cards where you want to ensure the alignment of headers, content, image etc depending on if that stuff is in there or not. You can have text missing and the card will still take up that size because your subgrid has defined it so. All of this needed JS, complex CSS hacks and so on. These aren't obscure features these are commonly used layouts that required a lot of time and effort to make it look nice.

[1] https://webkit.org/blog/17660/introducing-css-grid-lanes/

Re: When will CSS Grid Lanes arrive?

#19
post #6
post #3

Earlier quoted context omitted.

But css is not a “programming language” it’s a negotiation between browser engineers (who need to keep things fast and responsive) and web devs (who need to implement a fashionable design that is still distinguising for their brand)

I think you don’t need new CSS features to put AI generated content in jumbotron. I dislike the idea that CSS should be made more complex. Everyone is doing the same template with Jumbotron anyway. Pick the colors, pick imagery and name for the brand - doing some magic with CSS will only piss off people. Cookie cutter design is what I like. I can compare the companies when they all have the same template for a websit…

That’s a very engineer thing to say. Most people are definitely different from you, and that’s why CSS is increasing in scope.

Also, if everyone is implementing the same Jumbotron design again anyway, why not standardise that and support it right away instead? That’s how we got a bunch of features recently, like dialogs, popovers, or page transitions. And it’s for the better, I think.

Re: When will CSS Grid Lanes arrive?

#20

Earlier quoted context omitted.

Tables are not responsive. They don't adjust to changing screen sizes. That was okay, maybe, when everyone was only on desktop/laptops but changed once mobile and tablets appeared.

What? Tables are responsive, they auto adjust widths or columns, you can control which are fixed width and which are fluid.

The person I was responding do linked to an article about tables for layout, not tables for data
Post reply on HN