Starter 要做什麼
先看見缺口,再完成一個小修改。
本主題檔案:files/style.css
定位:先確認根元素與父層 computed font-size 都是 16px。
Starter · code-edit
先看見缺口,再完成一個小修改。
先看見缺口,再完成一個小修改。
本主題檔案:files/style.css
定位:先確認根元素與父層 computed font-size 都是 16px。
頁面不會替你修改檔案;請在實作檔完成後重新整理確認。
父層字級 16px;段落 font-size:1em,沒有行長上限。
runtime 的 font-size 由 16px 變 20px;Styles 顯示 max-width:60ch,文字仍能在窄版縮排。
.article-copy { font-size:1.25rem; padding:1em; max-width:60ch; }只在本階段資料夾內操作,避免改到其他章節。
index.htmlstyle.cssmain.js證據:runtime before=16px、after=20px、property=font-size;Styles 另可指出 padding:1em 與 max-width:60ch
前往 Checkpoint →