You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn/tasks/cascade/marking.md
+3
Original file line number
Diff line number
Diff line change
@@ -22,3 +22,6 @@ One possible solution is as follows:
22
22
@layer yellow, green, purple;
23
23
```
24
24
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