Live data from Hacker News

CSS grid garden

cssgridgarden.com

21–30 of 138 posts

Re: CSS grid garden

#22

Curious as to why CSS Grid chose to start at 1-index rather than zero, and why the end column is one more than the position of the column that actually stops.

Ultimately these are just conventions. There are probably good reasons for them, too. For example having [a,b)* allows easier computation when you have things that abut. E.g. it's [a,b) [b,c) [c,d) rather than [a,b-1] [b,c-1] [c,d-1]. * https://en.wikipedia.org/wiki/Interval_(mathematics)#Includi...

But it seems to be weirder than that, according to the game (can someone explain this to me?):

start:1, end:4 = 1,2,3 (start-inclusive, end-exclusive)

start:5, end:2 = 2,3,4 (I guess this means right-exclusive, whether it's 'start' or 'end'?)

start:1, end:-2 = 1,2,3,4 (the puzzle text says -1 is the first grid-line from the right, i.e. 5, but that doesn't follow, because now it's right-inclusive)

start:-3 = 4 (so -1 is grid count+1, which explains the above?)

Re: CSS grid garden

#23

Earlier quoted context omitted.

The walled garden I speak of is the implementation of add-ons cryptographically signed by Mozilla only. Unless you run one of the betas (w/bugs) you cannot use any add-on not approved by Mozilla. And lately they've even been removing/banning add-ons that aren't illegal but otherwise upset outside corporations (ie, the paywall bypasser that uses googlebot's http headers substituted in).

Is there a way to enable unsigned extensions at all, say from about:config?

No. The removed that in the low 40s versions.

Re: CSS grid garden

#24

Flex seems more flexible to me than CSS Grid.

A combination of both is really ideal. CSS Grid seems great for full screen things and FlexBox is really great at laying out small components.

Re: CSS grid garden

#25
post #24

Flex seems more flexible to me than CSS Grid.

A combination of both is really ideal. CSS Grid seems great for full screen things and FlexBox is really great at laying out small components.

Flex has better browser support though, so I still like to stick to Flex instead of Grid.

Re: CSS grid garden

#27

Earlier quoted context omitted.

The walled garden I speak of is the implementation of add-ons cryptographically signed by Mozilla only. Unless you run one of the betas (w/bugs) you cannot use any add-on not approved by Mozilla. And lately they've even been removing/banning add-ons that aren't illegal but otherwise upset outside corporations (ie, the paywall bypasser that uses googlebot's http headers substituted in).

Is there a way to enable unsigned extensions at all, say from about:config?

You can either use the developer build or compile Firefox yourself.
Post reply on HN