Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

The most popular HTML, CSS, and JavaScript

License

NotificationsYou must be signed in to change notification settings

tuds/t-scroll

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

enter image description here

Quick start

  • Clone the repo:git clone git@github.com:crazychicken/t-scroll.git
  • Install with npm:npm install --save-dev t-scroll
  • Install with npm:npm install --save-dev crazychicken/t-scroll
  • Or download thelatest release

Demo

http://t-scroll.com/t-animate-options.html

Documentation

http://t-scroll.com/documents.html

How to use

  • First, include CSS files into your HTML head:
<linktype="text/css"rel="stylesheet"href="./public/theme/css/t-scroll.min.css">
  • Include filet-scroll.min.js into the footer.
<scripttype="text/javascript"src="./public/theme/js/t-scroll.min.js"></script>
  • Set HTML
<divclass="zoomIn">"..."</div><divclass="zoomIn">"..."</div>
  • If you needsetTimeout, you need insert the container attributet_show="..."
<divclass="zoomIn"t_show="1">"..."</div><divclass="zoomIn"t_show="2">"..."</div>
  • Or you want tot_show run see first screen. You have to add.t_default .t_animated
<divclass="box-center"><divclass="zoomIn t_default t_animated"t_show="1"> ...</div><divclass="zoomIn t_default t_animated"t_show="2"> ...</div></div>

Call the function

<scripttype="text/javascript">Tu.t_scroll({'t_element':'.zoomIn'})</script>

Options

  • bounceIn
  • bounceOut
  • bounceUp
  • bounceDown
  • bounceLeft
  • bounceRight
  • fadeIn
  • fadeUp
  • fadeDown
  • fadeLeft
  • fadeRight
  • fadeUpBig
  • fadeDownBig
  • fadeLeftBig
  • fadeRightBig
  • flip
  • flipX
  • flipY
  • lightSpeedUp
  • lightSpeedRight
  • lightSpeedDown
  • lightSpeedLeft
  • rollUp
  • rollRight
  • rollDown
  • rollLeft
  • rotate
  • rotateUpLeft
  • rotateUpRight
  • rotateDownLeft
  • rotateDownRight
  • slideUp
  • slideDown
  • slideLeft
  • slideRight
  • zoomIn
  • zoomInUp
  • zoomInLeft
  • zoomInDown
  • zoomInRight
  • zoomOut
  • zoomOutUp
  • zoomOutLeft
  • zoomOutDown
  • zoomOutRight

Tree

public/  └── theme/  └── css/  |   ├── style.css  |   └── t-scroll.min.css  └── js/        └── t-scroll.min.csssass/  ├── // All Folders Sass Files  ├── style.scss  └── t-scroll.min.scss

Template full feature list

  • Semantically Correct / Valid HTML Code
  • HTML5, CSS3
  • Javascript / JS6
  • Full project and seed project (build with: Gulp, Sass, Javascript, Npm, Babel)
  • Cross browser compatible ( Internet Explorer 10+, Firefox, Safari, Opera, Chrome etc. )
  • W3C Valid source code, properly formatted and commented
  • Animations CSS3

Creators

Tuds - Crazychicken (CLGT Groups)

Copyright and license

Code and documentation copyright 2017, MIT license.

Releases

No releases published

Packages

No packages published

Languages

  • CSS77.3%
  • HTML18.6%
  • JavaScript4.1%

[8]ページ先頭

©2009-2025 Movatter.jp