• #dev 2026-10-01
  • Prev
    Next
  • #indieweb
  • #dev
  • #wordpress
  • #meta
  • #stream
  • #microformats
  • #known
  • #events
#dev ≡
  • ←
  • →
2026-10-01 UTC
# 08:05
[Murray]
so if you have 12 items, and sometimes there are two on a line, sometimes 3, 4, 5, etc., and each item is e.g. 10rem max width, you can have a container query that targets the container at 20rem (or more of if there's whitespace between items) and selects all `:nth-child(even)` children, which will select the 2nd, 4th, 6th etc. children, which would be the end of those lines at that width