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/position/marking.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ This task covers understanding of `position: relative` and `position: absolute`
20
20
21
21
A likely issue will be that the student adds `position: absolute` to the child but does not apply `position: relative` to the container. In that case the target will end up being positioned according to the viewport.
22
22
23
-
For the extra task, the student needs to add a negative `z-index` to the target, for example `z-index:2`.
23
+
For the extra task, the student needs to add a negative `z-index` to the target, for example `z-index: -2`.
24
24
25
25
## Task 2
26
26
@@ -30,4 +30,4 @@ In task 2 we check understanding of `position: fixed` with a slightly different
0 commit comments