An open API service indexing awesome lists of open source software.

https://github.com/koddr/just-scroll

Simple indicate the possibility of scrolling on a page with СSS3 animation.
https://github.com/koddr/just-scroll

animated-elements css3-animations sass scrolling

Last synced: about 2 months ago
JSON representation

Simple indicate the possibility of scrolling on a page with СSS3 animation.

Awesome Lists containing this project

README

        

![just-scroll-sass-logo-github](https://user-images.githubusercontent.com/11155743/31406214-388f0f6a-ae09-11e7-9c01-89095f67831a.jpg)

# Just Scroll [![npm version](https://badge.fury.io/js/just-scroll.svg)](https://badge.fury.io/js/just-scroll)

Simple indicate the possibility of scrolling on a page with СSS3 animation.

## Features

* Work on all modern and many older browsers
* Have _SASS_ version for re-build (developers only)
* Include colors, helpers and more stuff
* Support for your issues

**Desktop browsers support**

| [IE](http://godban.github.io/browsers-support-badges/) | [Firefox](http://godban.github.io/browsers-support-badges/) | [Chrome](http://godban.github.io/browsers-support-badges/) | [Safari](http://godban.github.io/browsers-support-badges/) | [Opera](http://godban.github.io/browsers-support-badges/) |
| --------- | --------- | --------- | --------- | --------- |
| 10+ | 16+ | 3+ | 5+ | 12.10+ |

**Mobile browsers support**

| [Firefox Mobile](http://godban.github.io/browsers-support-badges/) | [Chrome for Android](http://godban.github.io/browsers-support-badges/) | [iOS Safari](http://godban.github.io/browsers-support-badges/) | [Opera Mini](http://godban.github.io/browsers-support-badges/) |
| --------- | --------- | --------- | --------- |
| 16+ | 2+ | 4+ | 12.10+ |

## How to use?

* First, install from `npm` to your project:

```
$ npm install just-scroll --save
```

* Next, import `just-scroll` to your builded _SASS_ (or _SCSS_) file:

```sass
@import('just-scroll')
```

* Good. Now, add special container with `.just-scroll`, `.to-down` (or `.to-up` if you want to indicate _scroll up_ action) and `.color-*` classes:

```html


...

```

* And finally, place animated element into `.just-scroll` container:

```html






```

### More options?

Just add this class to `.just-scroll` container:

#### .to-*

| CSS Class | Description |
| --------- | --------- |
| `.to-up` | Animation scroll up |
| `.to-down` | Animation scroll down |

#### .color-*

| CSS Class | Description | Value |
| --------- | --------- | --------- |
| `.color-black` | Black color | `rgba(0, 0, 0, 1)` |
| `.color-white` | White color | `rgba(255, 255, 255, 1)` |
| `.color-green` | Green color | `rgba(35, 209, 96, 1)` |

#### .centered

| CSS Class | Description | Value |
| --------- | --------- | --------- |
| `.centered` | Place `.just-scroll` container to center of parent html element | `margin: 0 auto` |

## Animated elements

#### .mouse-icon

```html




```

## Author & maintainers

Development and maintenance engaged by [Vic Shóstak](https://github.com/koddr) (aka Koddr).

If you want to say «thank you» or/and support active development `Just Scroll` — send to project's author some money via PayPal: [@paypal.me/koddr](https://paypal.me/koddr?locale.x=en_EN).

[![DigitalOcean Referral Badge](https://web-platforms.sfo2.digitaloceanspaces.com/WWW/Badge%202.svg)](https://www.digitalocean.com/?refcode=b41859fa9b6e&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge)

## License

MIT