Checkpoint 要做什麼
只驗證本主題責任,不偷渡其他答案。
本主題檔案:files/style.css
定位:先在 Computed 確認 max-width 為 none,不先改父層寬度。
Checkpoint · code-edit
只驗證本主題責任,不偷渡其他答案。
只驗證本主題責任,不偷渡其他答案。
本主題檔案:files/style.css
定位:先在 Computed 確認 max-width 為 none,不先改父層寬度。
頁面不會替你修改檔案;請在實作檔完成後重新整理確認。
卡片 width:100%,未設定 max-width。
runtime 的 max-width 由 none 變 384px;卡片 width:100% 且在窄版不超過父容器。
.card { width:100%; min-width:0; max-width:24rem; }只在本階段資料夾內操作,避免改到其他章節。
index.htmlstyle.css證據:runtime before=none、after=384px、property=max-width;390px 時卡片外框仍位於容器內
前往 Solution →