项目
在 GitHub 查看
Vincenius/css-speedrun
关于
一款轻巧有趣的应用,用来测试 CSS 知识
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文CSS Speedrun
A small fun app to test your CSS knowledge. Find the correct CSS selectors for the 10 puzzles as fast as possible.
https://css-speedrun.netlify.app
Setup
- Install the app with
npm i - run
npm run buildto create the dist directory - run
npm run watchto run the dev server and watch for changes
Create your own puzzles
To create your own puzzles check the files in /src/js/puzzles.
They contain the code for the puzzle and an array to mark which lines should be selected. Also you can provide an optional hint to help others solve your puzzle.
Solutions
Answer list:
Intro:li:first-child
- Level 1:
p:not(.foo) - Level 2:
li:nth-child(2n + 3) - Level 3:
div > * - Level 4:
span[data-item] - Level 5:
p ~ span - Level 6:
:enabled - Level 7:
#one, #two, #five, #six, #nine - Level 8:
a + span - Level 9:
#foo > .foo - Level 10:
div div span + code:not(.foo)
License
created by Vincent Will
探索相关项目
加载中…