mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-24 23:49:06 +08:00
fix(curriculum): missing :root test to skyline css challenge (#46427)
* fix/added missing test to skyline css challenge * fix(curriculum): missing :root
This commit is contained in:
+1
@@ -14,6 +14,7 @@ Add a `:root` selector to the top of your media query. Then redefine all four of
|
||||
You should add a `:root` selector to the media query.
|
||||
|
||||
```js
|
||||
assert.notDeepEqual(new __helpers.CSSHelp(document).getRuleListsWithinMedia("(max-width: 1000px)")?.find(x=>x.selectorText === ":root"), undefined);
|
||||
```
|
||||
|
||||
You should add `--building-color1` with a value of `#000`.
|
||||
|
||||
Reference in New Issue
Block a user