Loading topic
rem and em units work. You do not need to know anything about design theory.3 min readrem units, and have seen a CSS custom property (a name starting with --) before. Here you will define a small set of spacing values once and use only those values for every gap on the page.2 min read--space-1 through --space-6.3 min readrem units. Margin collapsing is a rule that surprises people when they space groups of content. Once you know it, you can predict it.3 min readrem units, and the spacing scale custom properties (--space-1 to --space-6) from earlier chapters. It also assumes you know that adjacent vertical margins can collapse.3 min readrem and em units, and the spacing scale from the earlier chapter. Here you apply that scale to text, so that paragraphs, headings and lists read as clear groups.3 min readrem units, and the spacing scale from the earlier chapter. It also assumes you know basic flexbox and grid. You will use the scale to space cards and page sections so that the groups are clear.3 min readrem units, and the spacing scale and gap property from earlier chapters.3 min readrem and vw units. It shows how to make that scale adapt to the screen without losing the groupings it creates.3 min readrem and em units, and how to apply a spacing scale with padding, margin and gap. It covers three accessibility checks for the groupings you have built: touch target size, text-spacing overrides, and whether your groups survive when users change spacin3 min read