Live data from Hacker News

Pills: A simple responsive CSS grid for humans

github.com

51–60 of 102 posts

Re: Pills: A simple responsive CSS grid for humans

#52

Pardon my cynicism but the adjective 'simple' has been abused to the point where it repels me when I find it in framework descriptions. Calling something 'simple' is a subjective statement which is a meaningless waste of words, especially from the author of the framework. Of course you perceive your own framework as simple. Nobody designs a framework to intentionally make something more complicated. The word 'simple'…

As Rich Hickey argues[1], 'simple' can be an objective statement. Though I agree that without an explanation of what exactly makes this library 'simple', the better word may be 'easy'.

[1] https://www.infoq.com/presentations/Simple-Made-Easy

Re: Pills: A simple responsive CSS grid for humans

#53

Pardon my cynicism but the adjective 'simple' has been abused to the point where it repels me when I find it in framework descriptions. Calling something 'simple' is a subjective statement which is a meaningless waste of words, especially from the author of the framework. Of course you perceive your own framework as simple. Nobody designs a framework to intentionally make something more complicated. The word 'simple'…

I was just thinking about this the other day and the subjective statement was "powerful".

Re: Pills: A simple responsive CSS grid for humans

#54

The problem with all of these responsive grid systems is that they are opinionated about how a component responds. Responsiveness is not a document level problem, it's a component level problem and each component has it's own concerns. One component might keep the 2up grid from desktop to mobile, another might collapse to single column half way, and so on. Having generic desktop and mobile class names ala bootstrap d…

Have you tried EQCSS(http://elementqueries.com/) ?

The concepts looks good, bu I haven't seen anyone recommending it .

Re: Pills: A simple responsive CSS grid for humans

#58

Earlier quoted context omitted.

Besides lack of good cross-browser support until recently, I think there are a few reasons why flexbox is still less popular than float- or margin-based grids: - Steeper learning curve and less accessible than adding a class like "col-3" or "grid--1/2". The latter is almost self-explanatory. - Requires an existing or new CSS class to bind the styles to. If it's a new class, you have to figure out a good name (which i…

... and it relies on DOM structure. This is horrible, IMHO. Flex containers will layout the flex items, which are by definition its direct descendants. If by some reason [1] you get an extra DOM element between the flex container and the item you intend to layout, then you're in for a rewrite of the CSS and maybe some extra classes. Also, this bug in Webkit is rather inconvenient: https://github.com/philipwalton/flex…

Yes! Flex box has lots going for it, but it breaks a "feature" that many web developers and framework developers have relied on since the earliest days: it being mostly harmless add an extra layer of element at a whim anywhere. One could argue this is a lousy feature (and I would agree). But lots of developers and lots of frameworks do it.

Re: Pills: A simple responsive CSS grid for humans

#60
post #30

It is so simple and so human it isn't even really responsive. Magic!

Can you explain? When I resize the window, the demo ( http://arkpod.in/pills/ ) reflows exactly like I'd expect.

It only has one breakpoint whereas bootstrap has multiple (xs, sm, md, lg).
Post reply on HN