-
-
Save HongPong/00afde69a2340bdc7e04549e01ccbef4 to your computer and use it in GitHub Desktop.
doormat not working
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
<html> | |
<head> | |
<script src="doormat/dist/doormat.js"></script> | |
<link href="doormat/dist/doormat.css" rel="stylesheet"/> | |
<link href="styles.css" rel="stylesheet"/> | |
</head> | |
<body> | |
<div class="dm"> | |
<div class="dm__pnl panel1">Awesome</div> | |
<div class="dm__pnl panel2">Site</div> | |
<div class="dm__pnl panel3">Content</div> | |
</div> | |
<script type="text/javascript"> | |
//var myDoormat = new Doormat(); | |
var myDoormat = new Doormat({ | |
scrollBuffer : 80, | |
snapDuration : 250, | |
snapThreshold: 20 | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment