Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main #369

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Main #369

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@ h1 {
width: 980px;
margin: 0 auto;
}
div section{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}

section {
height: 300px;
margin: 60px 0;
font-size: 30px;
}

.section--purple {
Expand Down
17 changes: 9 additions & 8 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@
<body>
<div id="container">
<header>
<h1>WOW.js</h1>
<h1>this is me </h1>
<h3>vs</h3>
</header>
<div id="main">
<section class="wow fadeInDown" style="background-color: #f1c40f;"></section>
<section class="wow pulse" style="background-color: #e74c3c;" data-wow-iteration="infinite" data-wow-duration="1500ms"></section>
<section class="section--purple wow slideInRight" data-wow-delay="2s"></section>
<section class="section--blue wow bounceInLeft" data-wow-offset="300"></section>
<section class="section--green wow slideInLeft" data-wow-duration="4s"></section>
<button id="moar">LOAD MOAR!!</button>
<section class="wow fadeInDown" style="background-color: #f1c40f;">sabse pahele follow kro :- ( the_credible_vs )</section>
<section class="wow pulse" style="background-color: #e74c3c;" data-wow-iteration="infinite" data-wow-duration="1500ms">kiye ki nhi</section>
<section class="section--purple wow slideInRight" data-wow-delay="2s">hahaha</section>
<section class="section--blue wow bounceInLeft" data-wow-offset="300">kaisa lga </section>
<section class="section--green wow slideInLeft" data-wow-duration="4s">mast hai na </section>
<button id="moar">OR Dekhoge ka!!</button>
</div>
</div>
<script src="dist/wow.js"></script>
Expand All @@ -44,7 +45,7 @@ <h1>WOW.js</h1>
wow.init();
document.getElementById('moar').onclick = function() {
var section = document.createElement('section');
section.className = 'section--purple wow fadeInDown';
section.className = 'section--blue wow bounceInLeft';
this.parentNode.insertBefore(section, this);
};
</script>
Expand Down