From 54264157ee6ee56e6727b568d2007ab401fd0c62 Mon Sep 17 00:00:00 2001 From: The Coding Aviator <34807532+thecodingaviator@users.noreply.github.com> Date: Mon, 18 Feb 2019 00:46:14 +0530 Subject: [PATCH] Added more clarification on how to use z-index (#34934) * Update change-the-position-of-overlapping-elements-with-the-z-index-property.english.md * Update change-the-position-of-overlapping-elements-with-the-z-index-property.english.md * Update change-the-position-of-overlapping-elements-with-the-z-index-property.english.md --- ...of-overlapping-elements-with-the-z-index-property.english.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/change-the-position-of-overlapping-elements-with-the-z-index-property.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/change-the-position-of-overlapping-elements-with-the-z-index-property.english.md index 6577435ad2c..d8a9cb425dd 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/change-the-position-of-overlapping-elements-with-the-z-index-property.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/change-the-position-of-overlapping-elements-with-the-z-index-property.english.md @@ -7,7 +7,7 @@ videoUrl: 'https://scrimba.com/c/cM94aHk' ## Description
-When elements are positioned to overlap, the element coming later in the HTML markup will, by default, appear on the top of the other elements. However, the z-index property can specify the order of how elements are stacked on top of one another. It must be an integer (i.e. a whole number and not a decimal), and higher values for the z-index property of an element move it higher in the stack than those with lower values. +When elements are positioned to overlap (i.e. using position: absolute | relative | fixed | sticky), the element coming later in the HTML markup will, by default, appear on the top of the other elements. However, the z-index property can specify the order of how elements are stacked on top of one another. It must be an integer (i.e. a whole number and not a decimal), and higher values for the z-index property of an element move it higher in the stack than those with lower values.
## Instructions