-
-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make actualScroll not doctype dependant
- Loading branch information
1 parent
fcadbe8
commit 78e7880
Showing
3 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<html lang="en"> | ||
<head> | ||
<style> | ||
body { | ||
height: 300vh; | ||
} | ||
</style> | ||
<script src="../../dist/lenis.min.js"></script> | ||
<script> | ||
const lenis = new Lenis({ | ||
autoRaf: true, | ||
}) | ||
console.log(lenis) | ||
</script> | ||
</head> | ||
<body> | ||
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Inventore aliquid | ||
aliquam quam officiis hic ut voluptatibus dicta perferendis, voluptate iure | ||
modi iste ratione explicabo architecto impedit ipsa. Blanditiis, tenetur | ||
itaque. | ||
</body> | ||
</html> |