Comment

Comment by paavohtl

> There should be only 1 way and that way should not have hacks like use negative margins.

There is: flexbox and grid. All kinds of alignment can be done with basically a one-liner in both layout systems, without any hacks.

parent paavohtl 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton