# demo-02-wrap nowrap 把项挤在一行;wrap 在空间不足时换行。 ## 运行 直接打开 `index.html`。 ## 观察 - nowrap 需要横向滚动或压缩 - wrap 保持每项宽度,换行排列 - `gap` 同时作用于行与列