滿可愛的一個小遊戲 - CSS Diner,看它們在那邊抖阿抖還滿療癒的 XDDDD
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
CSS Diner 截圖 (圖片來源: CSS Diner 網站)
遊戲非常簡單,就是使用正確的 CSS 選擇器,挑出正在抖動的元素 。
目前總共有 32 題,每題旁邊其實有講解,另外可以搭配 mozilla 的教學文件 服用,應該還滿清楚的。
列一下我 32 題的回答:
- plate
- bento
- #fancy
- plate apple
- #fancy pickle
- .small
- orange.small
- bento orange.small
- plate, bento
- *
- plate *
- plate + apple
- bento ~ pickle
- plate > apple
- plate :first-child
- plate :only-child
- .small:last-child
- :nth-child(3)
- bento:nth-last-child(3) -> 挑倒數第三個的盒子
- apple:first-of-type
- plate:nth-of-type(2n) or plate:nth-of-type(even)
- plate:nth-of-type(2n+3)
- apple:only-of-type
- .small:last-of-type
- bento:empty
- apple:not(.small)
- [for]
- plate[for]
- bento[for=Vitaly] or [for=Vitaly]
- [for^=Sa]
- [for$=ato]
- [for*=obb]
全部過關後會得到稱讚:You rock at CSS!
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
破關截圖 (圖片來源: CSS Diner 網站)
本文作者: 辛西亞.Cynthia
本文連結: 辛西亞的技能樹 / hackmd 版本
版權聲明: 部落格中所有文章,均採用 姓名標示-非商業性-相同方式分享 4.0 國際 (CC BY-NC-SA 4.0) 許可協議。轉載請標明作者、連結與出處!