News for hackers. Stuff that matters.
Re:My favourite 3 lines of CSS by ge96 on Tuesday February 21, 2023 @02:48AM (#34878067)
For me it would be:

border box, flex, the trick to make a square with ::before and content/padding 100%

Re:My favourite 3 lines of CSS by 1ko on Tuesday February 21, 2023 @05:05AM (#34879104)
you will love aspect-ratio: 1/1;