|
|
|
|
|
by skgough
516 days ago
|
|
this is most likely due to the absolute positioning. position: absolute will use the top-left corner of the closest ancestor that is "positioned" as the origin for it's layout [1]. If you want that origin to be the top-left corner of the viewport, use position: fixed. [1] https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_... |
|