CSS for Beginners
summary
Explains four core CSS layout topics: display (block vs inline vs inline-block and the inline-whitespace issue), the box model including why fixed dimensions can change and how box-sizing: border-box prevents that, positioning modes (absolute, relative, fixed) shown by building a widget that resizes with its container, and floats with clearfix alternatives such as using overflow: auto and when floated elements leave the normal flow.
AI-written summary · about
