fix(challenges): rephrased wording in applied visual design (#268)

pull/18182/head
Tomer Ben-Rachel 2018-08-24 15:18:38 +03:00 committed by Josh Alling
parent 25ea07eda6
commit d560d58631
1 changed files with 1 additions and 1 deletions

View File

@ -1518,7 +1518,7 @@
"title": "Lock an Element to the Browser Window with Fixed Positioning",
"description": [
"The next layout scheme that CSS offers is the <code>fixed</code> position, which is a type of absolute positioning that locks an element relative to the browser window. Similar to absolute positioning, it's used with the CSS offset properties and also removes the element from the normal flow of the document. Other items no longer \"realize\" where it is positioned, which may require some layout adjustments elsewhere.",
"One key difference from the <code>absolute</code> position is that the element won't move when the user scrolls.",
"One key difference between the <code>fixed</code> and <code>absolute</code> positions is that an element with a fixed position won't move when the user scrolls.",
"<hr>",
"The navigation bar in the code is labeled with an id of <code>navbar</code>. Change its <code>position</code> to <code>fixed</code>, and offset it 0 pixels from the <code>top</code> and 0 pixels from the <code>left</code>. Notice the (lack of) impact to the <code>h1</code> position, it hasn't been pushed down to accommodate the navigation bar and would need to be adjusted separately."
],