3 ms·
I find it bizarre that the author would admonish against multiple rules on a single line due to version control, yet would recommend making colons line up for v
by baddox 15y ago
I find it bizarre that the author would admonish against multiple rules on a single line due to version control, yet would recommend making colons line up for vendor prefixes. Sure, it's probably not often that a new vendor prefix would come along (or one would accidentally initially be forgotten), but adding a new (longer) prefix would require introducing a diff to the other lines even though they haven't truly been changed.
- csswizardry 15y agoIf you change any code it will show up in a diff, whether that be vendor prefixed or not. A vendor prefix changing is just the same as a padding value changing; if code needs to change then change it and you will fully expect to see it show up in a diff. Single line CSS’ problem is that a diff of it can be a little misleading.