Adapted from Learn CSS: Box Model on web.dev (Google), written and edited by Andy Bell, Rachel Andrew, Una Kravets, Adam Argyle, Emma Twersky, Camden Bickel and Kevin Lozandier. Text licensed under CC BY 4.0; code samples under the Apache 2.0 License.
Changes: the text is condensed and paraphrased as narration, figures are redrawn as animated schematics, and the examples and questions are new. The code editor is a simplified sketch. Not endorsed by the authors or Google. Type: Instrument Sans (SIL Open Font License).