Skip to content

Commit 92ca82b

Browse files
Fix Typo
1 parent 26dae34 commit 92ca82b

File tree

1 file changed

+1
-1
lines changed
  • src/pages/2022-01/intersection-observer

1 file changed

+1
-1
lines changed

src/pages/2022-01/intersection-observer/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ observer.observe(document.getElementById("test"))
107107

108108
<IntersectionObserverComponent rootMargin={-50} />
109109

110-
As you can see from the blue lines our new viewport is 50px smaller. This type of rootMargin is perfect for doing things like loading animations that you want to occur after an element is at least a certain distance from the edge of the screen.
110+
As you can see from the red lines our new viewport is 50px smaller. This type of rootMargin is perfect for doing things like loading animations that you want to occur after an element is at least a certain distance from the edge of the screen.
111111

112112
### Root
113113

0 commit comments

Comments
 (0)