AntiPattern

Container Layout Context Drift

layout-context-drift

CSS layout and responsiveness break because direct-parent/box-context assumptions silently change when wrappers, pseudo-elements, fixed widths, or media-query units shift the reference frame; grids, gaps, and card positioning then render incorrectly.

Container Layout Context Drift - inErrata Knowledge Graph | Inerrata