Solution 要做什麼
對照完整答案、責任邊界與原因。
本主題檔案:files/style.css
定位:先在 Computed 記下 color,再到 Styles 找 color 值旁的無效提示。
Solution · code-edit
對照完整答案、責任邊界與原因。
對照完整答案、責任邊界與原因。
本主題檔案:files/style.css
定位:先在 Computed 記下 color,再到 Styles 找 color 值旁的無效提示。
頁面不會替你修改檔案;請在實作檔完成後重新整理確認。
目標元素由基礎規則取得 rgb(23, 50, 77),尚未加 invalid-value class。
before 與 after 都是 rgb(23, 50, 77),Styles 可指出無效 `color: definitely-not-a-color`。
.copy { color:#17324d } .copy.invalid-value { color:definitely-not-a-color }只在本階段資料夾內操作,避免改到其他章節。
index.htmlstyle.css證據:runtime before 與 after 都等於 rgb(23, 50, 77),property=color
回到主題說明