News for hackers. Stuff that matters.
Re:CSS Grid Areas by sapling-ginger on Friday August 16, 2024 @04:24AM (#41264366)
The column number can be negative. 1--1 vs 1->-1 vs 1/-1 ?
Re:CSS Grid Areas by elteto on Friday August 16, 2024 @08:25AM (#41265728)
a:b is almost universal as a range designator at this point. / is a _terrible_ choice, especially in a context where a fractional value would also make sense.

That was just an objectively bad syntax choice, but probably keeping on track with CSS.

Re:CSS Grid Areas by lionelw on Friday August 16, 2024 @11:22AM (#41267193)
Don't you think : is already used for something else in CSS?
Re:CSS Grid Areas by nsonha on Friday August 16, 2024 @12:01PM (#41267548)
making excuse is easy, here is another one 1..3
Re:CSS Grid Areas by mixmastamyk on Friday August 16, 2024 @12:39PM (#41267952)
And what’s wrong with whitespace? Like every other property.
Re:CSS Grid Areas by nsonha on Friday August 16, 2024 @02:47PM (#41269196)
range(1, 3) might be more consistent, it's a single value that is a range and not 2 values.

On a side note: a problem with CSS' claim to be a programming language is that the grammar is not obvious.

Re:CSS Grid Areas by mixmastamyk on Friday August 16, 2024 @06:41PM (#41271035)
A single value is a choice, two values as well.