Solution 要做什麼
對照完整答案、責任邊界與原因。
本主題檔案:files/style.css
定位:先記錄元素 bounding rect 與 Computed transform/opacity,不先開啟動畫。
Solution · code-edit
對照完整答案、責任邊界與原因。
對照完整答案、責任邊界與原因。
本主題檔案:files/style.css
定位:先記錄元素 bounding rect 與 Computed transform/opacity,不先開啟動畫。
頁面不會替你修改檔案;請在實作檔完成後重新整理確認。
卡片 transform:none、opacity:.6;仍在 normal flow。
現有 runtime transform 由 none 變 matrix;required facts layoutStable=true 且 midpoint/after 可觀察。
.toast{transform:translateX(1.5rem);opacity:.6;transition:transform .2s,opacity .2s}.toast.is-in{transform:none;opacity:1}只在本階段資料夾內操作,避免改到其他章節。
index.htmlstyle.cssmain.js證據:before=none、after包含matrix、layoutStable=true,opacity/transform midpoint可觀察
回到主題說明