Ancestors

Toot

Written by Noah Liebman on 2025-01-10 at 18:53

Hot take: this is a bad rule.

Sometimes I like to be explicit.

Sometimes I don’t remember which order the shorthand’s values go in.

Sometimes the shorthand property’s syntax is hella confusing (looking at you, grid-template).

Clarity over concision, please. https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties/ #css

=> More informations about this toot | More toots from noleli@mastodon.social

Descendants

Written by Patrick Fulton on 2025-01-10 at 19:03

@noleli I agree with your take! If shorthand properties are something that folks really feel strongly about, that can be handled in the dist files, but should be preserved for authors.

=> More informations about this toot | More toots from patrickfulton@mastodon.social

Written by Noah Liebman on 2025-01-10 at 19:08

@patrickfulton absolutely! compile to shorthand if you want to save a few bytes.

=> More informations about this toot | More toots from noleli@mastodon.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113805570806368004
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
251.455442 milliseconds
Gemini-to-HTML Time
1.06305 milliseconds

This content has been proxied by September (ba2dc).