Reblogged by collinsworth@hachyderm.io ("Josh Collinsworth"):
shadeed9@front-end.social ("Ahmad Shadeed") wrote:
container queries + style queries + :has() = 🤩🤩
A demo of a timeline that changes its design based on the container width and the number of items.
Learn more about container queries in this interactive guide: https://ishadeed.com/article/css-container-query-guide