Live data from Hacker News

1 line CSS Grid Framework

vcarrer.com

11–20 of 29 posts

Re: 1 line CSS Grid Framework

#12
post #5

Isn't it a stretch to call this a "framework"? I guess "frameworks" are the "startups" of the CSS world.

It's only a matter of time before we see a story of a VC funding a "CSS framework startup". After all, we've had bit.ly.

Re: 1 line CSS Grid Framework

#14
I thought it was undefined to put block elements in inline elements? You can't put a block element in an inline element but you can put a block element B2 in a block element B1 and then apply display:inline to the B1 element and not get undefined semantics?

Re: 1 line CSS Grid Framework

#15
post #9
post #5

Isn't it a stretch to call this a "framework"? I guess "frameworks" are the "startups" of the CSS world.

It's definitely a stretch, but most things that are clever are

What's so clever about it though? I thought it an obvious approach, and not very useful.

Re: 1 line CSS Grid Framework

#16
post #6
post #3

That people have to resort to such creative contortions is a testament to what a shit pile CSS is.

CSS is perfectly fine for what it was designed for. Unfortunately, when it was being designed, tables were still viewed as perfectly acceptable for layout, and as far as I can tell, CSS didn't really aim to replace it. It seems to me that it was us OCD designers that wanted semantic markup who adopted CSS for layout, where sane people would use tables. (EDIT: I should probably clarify that this is 100% speculation, a…

No, CSS is not "perfectly fine for what it was designed for", even if we disregard that it sucks at layout. It's only better than what came before it. It's been over a decade, and we don't even have good layout features or named constants. Of course, CSS's inadequacy is only compounded by the persistent standards noncompliance of certain major web browsers. But call a spade a spade; CSS ain't that great. If it were, we'd all leave tables for tabular data.

Re: 1 line CSS Grid Framework

#17
The point of CSS is to separate presentation from markup. This approach uses a hierarchy of divs to define presentation. If that's alright with you, may as well use tables.

Re: 1 line CSS Grid Framework

#20

I thought it was undefined to put block elements in inline elements? You can't put a block element in an inline element but you can put a block element B2 in a block element B1 and then apply display:inline to the B1 element and not get undefined semantics?

float sets the display back to block. display: inline is for an IE bug.
Post reply on HN