mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,6 Tsd.
aktive Profile

#css

78 Beiträge71 Beteiligte1 Beitrag heute

It might not look nice (at first sight), but I think this is the most usable `grid-template-{columns,rows}` code formatting:

```css
grid-template-columns:
[marker-start] auto [marker-end
content-start] minmax(0, 1fr) [content-end
decoration-start] auto [decoration-end];
```

Corresponding grid lines on the same line of code and makes extension easy (e.g. if I add a line between two lines, I don’t have to modify the line of code before or after). #CSS

Lobotomized owls are cool and all, but I’ve gone back to writing

```css
.flow > :not(:first-child) {
margin-block-start: .8em;
}
```

because I find the *intent* of `:not(:first-child)` to be much clearer to other humans than `* + *` #css