Starter 要做什麼
先看見缺口,再完成一個小修改。
本主題檔案:files/style.css
定位:先讀 animation-name/duration/iteration-count/fill-mode,確認不是 infinite。
Starter · code-edit
先看見缺口,再完成一個小修改。
先看見缺口,再完成一個小修改。
本主題檔案:files/style.css
定位:先讀 animation-name/duration/iteration-count/fill-mode,確認不是 infinite。
頁面不會替你修改檔案;請在實作檔完成後重新整理確認。
目標沒有 finite-animation,iteration-count computed為1。
現有 runtime iteration-count 由1變2;required facts iterationCount=2、fillMode=both、animationEnd=true、finalClass 不含 finite-animation。
.notice.is-animating{animation:pulse 240ms ease 2 both}notice.addEventListener('animationend',()=>notice.classList.remove('is-animating'))只在本階段資料夾內操作,避免改到其他章節。
index.htmlstyle.cssmain.js證據:before=1、after=2、fillMode=both、animationEnd=true、finalClass已清理
前往 Checkpoint →