Skip to content

Commit 155a409

Browse files
committed
✏️ update README.md
1 parent d64bb43 commit 155a409

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

README.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
1-
# Scroll Direction v1.1.0
2-
A lightweight jQuery plugin to detect scroll direction on your website.
3-
4-
**Update**: Scroll Direction now works with other libraries that hijack the native scrollbar (like Locomotive Scroll).
1+
<div align="center">
2+
<img width="100px" src="https://raw.githubusercontent.com/phucbm/scroll-direction/main/logo.svg" align="center" alt="Scroll Direction" />
3+
<h1 align="center">Scroll Direction</h1>
4+
<p align="center">A lightweight jQuery plugin to detect scroll direction on your website. </p>
5+
</div>
6+
7+
<div align="center">
8+
<a href="https://jekyllrb.com/">
9+
<img src="https://img.shields.io/badge/Stable-v1.1.0-0088ff">
10+
</a>
11+
<a href="https://www.jsdelivr.com/package/gh/phucbm/jquery-scroll-direction-plugin">
12+
<img src="https://data.jsdelivr.com/v1/package/gh/phucbm/jquery-scroll-direction-plugin/badge">
13+
</a>
14+
</div>
15+
16+
> **Update**: Scroll Direction now works with other libraries that hijack the native scrollbar (like Locomotive Scroll).
517
618
**[View demo on CodePen &rarr;](https://codepen.io/phucbui/pen/yLaeqBw)**
719

@@ -17,8 +29,6 @@ You can [download the plugin directly from Github](https://raw.githubusercontent
1729

1830
### Using CDN
1931

20-
[![](https://data.jsdelivr.com/v1/package/gh/phucbm/jquery-scroll-direction-plugin/badge)](https://www.jsdelivr.com/package/gh/phucbm/jquery-scroll-direction-plugin)
21-
2232
You can also browse for the latest version by visiting [Scroll Direction on jsDelivr](https://cdn.jsdelivr.net/gh/phucbm/jquery-scroll-direction-plugin/)
2333

2434
```html

0 commit comments

Comments
 (0)