IP's banner
IP's profile picture

IP

@ipwanciu • 2,171 subscribers

Ion Prodan · 16+ yrs frontend (mostly Angular) Building: https://t.co/W9ywO3AlfN · https://t.co/TMFlgKIhC7

Shorts

CSS killed another centering hack. 🔥 `align-content: center` works on a plain block. No flex, no grid. Baseline since April 2024 (Chrome 123, Firefox 125, Safari 17.4), widely available on Oct 16. Before this, centering a single item vertically meant turning the box into a flex column. Now ⤵️ one line.

CSS killed another centering hack. 🔥 `align-content: center` works on a plain block. No flex, no grid. Baseline since April 2024 (Chrome 123, Firefox 125, Safari 17.4), widely available on Oct 16. Before this, centering a single item vertically meant turning the box into a flex column. Now ⤵️ one line.

24,891 views

JavaScript killed another JavaScript library. 😁 `Intl.Segmenter` has been in Baseline since April 2024 (Chrome 87, Firefox 125, Safari 14.1) and will be widely available on 16 Oct. Before this, "👍🏽".length was 4, and counting what users actually see meant shipping grapheme-splitter. Now ⤵️ the browser does it.

JavaScript killed another JavaScript library. 😁 `Intl.Segmenter` has been in Baseline since April 2024 (Chrome 87, Firefox 125, Safari 14.1) and will be widely available on 16 Oct. Before this, "👍🏽".length was 4, and counting what users actually see meant shipping grapheme-splitter. Now ⤵️ the browser does it.

20,628 views