Skip to content

Commit e4be372

Browse files
author
Prokhor
authored
Sticky too
"The offsetParent is the nearest ancestor that is: 1. CSS-positioned (position is absolute, relative, fixed…❗️or sticky❗️
1 parent 1d45b45 commit e4be372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/1-document/09-size-and-scroll/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ These properties are rarely needed, but still they are the "most outer" geometry
6060
6161
The `offsetParent` is the nearest ancestor that is:
6262
63-
1. CSS-positioned (`position` is `absolute`, `relative` or `fixed`),
63+
1. CSS-positioned (`position` is `absolute`, `relative`, `fixed` or `sticky`),
6464
2. or `<td>`, `<th>`, `<table>`,
6565
2. or `<body>`.
6666

0 commit comments

Comments
 (0)