terribleMia’s avatarterribleMia’s Twitter Archive—№ 10,300

  1. …in reply to @ccalo
    ccalo CSS layout allows parents to re-size children, and also children to resize parents. Unless we "contain" the size of the parent, we can cause infinite loops: .parent { width: max-content; } @ container (width > 500px) { .child { width: 100px; }} Containers solve that.