Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Michał Sajnóg committed Jul 9, 2015
0 parents commit 0c7522e
Show file tree
Hide file tree
Showing 11 changed files with 450 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bower_components/
node_modules/
.DS_Store
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2015 Michał Sajnóg

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# AOS - Animate on scroll library
33 changes: 33 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "Animate on scroll - AOS",
"version": "0.1.1",
"homepage": "https://github.com/michalsnik/aos",
"authors": [
"Michał Sajnóg <[email protected]>"
],
"main": "src/js/aos.js",
"moduleType": [
"globals"
],
"keywords": [
"scroll",
"css3",
"transition",
"transform",
"mousewheel",
"smooth",
"wow",
"animate"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {

}
}
161 changes: 161 additions & 0 deletions demo/css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
body
{
font-family: Helvetica,Tahoma;
}*,
*:before,
*:after
{
box-sizing: border-box;
}.colored-0
{
background: #1da4e2;
}.colored-1
{
background: #1ca1dd;
}.colored-2
{
background: #1c9dd9;
}.colored-3
{
background: #1b9ad4;
}.colored-4
{
background: #1b97d0;
}.colored-5
{
background: #1a94cb;
}.colored-6
{
background: #1a90c7;
}.colored-7
{
background: #198dc2;
}.colored-8
{
background: #188abe;
}.colored-9
{
background: #1886b9;
}.colored-10
{
background: #1783b5;
}.colored-11
{
background: #1780b0;
}.colored-12
{
background: #167dac;
}.colored-13
{
background: #1579a7;
}.colored-14
{
background: #1576a3;
}.colored-15
{
background: #14739e;
}.colored-16
{
background: #14709a;
}.colored-17
{
background: #136c95;
}.colored-18
{
background: #136991;
}.colored-19
{
background: #12668c;
}.colored-20
{
background: #116288;
}.colored-21
{
background: #115f83;
}.colored-22
{
background: #105c7f;
}.colored-23
{
background: #10597a;
}.colored-24
{
background: #0f5576;
}.colored-25
{
background: #0f5271;
}.colored-26
{
background: #0e4f6c;
}.colored-27
{
background: #0d4b68;
}.colored-28
{
background: #0d4863;
}.colored-29
{
background: #0c455f;
}.colored-30
{
background: #0c425a;
}.colored-31
{
background: #0b3e56;
}.colored-32
{
background: #0a3b51;
}.colored-33
{
background: #0a384d;
}.colored-34
{
background: #093448;
}.colored-35
{
background: #093144;
}.colored-36
{
background: #082e3f;
}.colored-37
{
background: #082b3b;
}.colored-38
{
background: #072736;
}.colored-39
{
background: #062432;
}.colored-40
{
background: #06212d;
}.colored-41
{
background: #051e29;
}.colored-42
{
background: #051a24;
}.aos-all
{
overflow: hidden;

width: 1000px;
margin: 0 auto;
}.aos-item
{
display: inline-block;
float: left;

width: 33.3333%;
height: 300px;
padding: 20px;
}.aos-item__inner
{
position: relative;

width: 100%;
height: 100%;
padding: 30px;

color: #fff;
}
144 changes: 144 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>AOS - Animate on scroll library</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/styles.css" />
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div id="transcroller-body" class="aos-all">
<div class="aos-item">
<div class="aos-item__inner colored-1"><h3>Lorem ipsum</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-2"><h3>dolor sit amet</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-3"><h3>onsectetur adipisicing</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-4"><h3>elit Saepe</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-5"><h3>labore iusto!</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-6"><h3>Quaerat id asperiores</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-7"><h3>porro odit</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-8"><h3>placeat ut fuga</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-9"><h3>aliquid omnis</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-10"><h3>dolorem dicta rem.</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-11"><h3>Lorem ipsum</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-12"><h3>dolor sit amet</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-13"><h3>onsectetur adipisicing</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-14"><h3>elit Saepe</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-15"><h3>labore iusto!</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-16"><h3>Quaerat id asperiores</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-17"><h3>porro odit</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-18"><h3>placeat ut fuga</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-19"><h3>aliquid omnis</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-20"><h3>dolorem dicta rem.</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-21"><h3>Lorem ipsum</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-22"><h3>dolor sit amet</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-23"><h3>onsectetur adipisicing</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-24"><h3>elit Saepe</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-25"><h3>labore iusto!</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-26"><h3>Quaerat id asperiores</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-27"><h3>porro odit</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-28"><h3>placeat ut fuga</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-29"><h3>aliquid omnis</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-30"><h3>dolorem dicta rem.</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-31"><h3>Lorem ipsum</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-32"><h3>dolor sit amet</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-33"><h3>onsectetur adipisicing</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-34"><h3>elit Saepe</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-35"><h3>labore iusto!</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-36"><h3>Quaerat id asperiores</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-37"><h3>porro odit</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-38"><h3>placeat ut fuga</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-39"><h3>aliquid omnis</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-40"><h3>dolorem dicta rem.</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-41"><h3>Lorem ipsum</h3></div>
</div>
<div class="aos-item">
<div class="aos-item__inner colored-42"><h3>dolor sit amet</h3></div>
</div>
</div>

<script src="../dist/aos.js"></script>
</body>
</html>
Loading

0 comments on commit 0c7522e

Please sign in to comment.