en.javascript.info/2-ui/1-document/11-coordinates/3-position-at-absolute/solution.md
2017-09-03 17:28:52 +02:00

250 B

The solution is actually pretty simple:

  • Use position:absolute in CSS instead of position:fixed for .note.
  • Use the function getCoords() from the chapter info:coordinates to get document-relative coordinates.