Skip to content

Commit b521009

Browse files
committed
Cascade Layers: New task
1 parent f59765a commit b521009

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

learn/tasks/cascade/marking.md

+3
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ One possible solution is as follows:
2222
@layer yellow, green, purple;
2323
```
2424

25+
There is one thing the student needs to do in this task: change the order of precedence so the declaration for the desired color is in the last declared layer, which is what his solution shows.
26+
27+
The student needs to remember that unlayered normal styles take precedence over layered normal styles. But, if all styles are within layers, as in the case of this task, styles in later declared layers take precedence over styles declared in earlier layers. Moving the purple layer to end means it has precedence over the green and yellow layers.

0 commit comments

Comments
 (0)