Skip to content

Comment on Show HN: A small (less than 2 kb) CSS framework

Comments

Why a 10 column grid? 12 makes much more sense to me since it is divisible by 2, 3, 4 and 6 while 10 is only divisible by 2 and 5. 12 gives more options with hardly any additional styles.

This reminds me of the duodecimal system:

http://www.youtube.com/watch?v=U6xJfP7-HCc

Mathematically, 10 is a pretty arbitrary choice to base your number system on. We would have been better off learning base 12 than inventing metric.

You can also divide 10 by 2, 4 and 5 without getting infinitly long numerical expressions. In fact 12 is quite a waste, it's better to go with 6 because it has 2 and 3 as prime factors, thus also being friendly towards divisions over 4. On the other hand base 6 numbers are longer than base 10 numbers, so you need a lot of digits.

In fact some googling reveals than the choice is not arbitrary: http://math.stackexchange.com/questions/8734/why-have-we-cho...

BTW: this discussion is quite off-topic. The choice for the number system base is quite different from the choice for the number of columns for a CSS grid.

J-HOP

Honestly, it was a choice I made late in the night. I think I'm going to rework it now to be 12 columns.

Please do. There's a very good reason nearly every framework goes with 12 cols these days.

Yup, that's a really weird choice. The most common layouts are the ones with 3 or 4 equal sized columns, and I just don't see how one would use this grid to do that?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.