diff --git a/README.md b/README.md index ecc3549..5ee70d0 100644 --- a/README.md +++ b/README.md @@ -21,16 +21,10 @@ The `StickyEvent` constant has our event names: Relies on `position: sticky` and `IntersectionObserver` support. -ES2015+: ```javascript import { observeStickyEvents, StickyEvent } from 'sticky-events'; ``` -Minified ES5-compatible: -```javascript -import { observeStickyEvents, StickyEvent } from 'sticky-events/sticky-events.es5'; -``` - ### Installation @@ -66,7 +60,7 @@ import { observeStickyEvents, StickyEvent } from 'sticky-events/sticky-events.es ``` *CSS* -```css +```scss /* Import or copy the styles into your code */ @import "~sticky-events/sticky-events.css";