Giter Site home page Giter Site logo

yummi-loader's Introduction

#Hello Yummi!

Hey! What's this? The Yummi-loader is nothing more than a simple LESS file with some CSS3 animations. Use them just adding off class on your body element and changing it with on on $(window).load() or $(document).ready() events.

Browser compatibility IE10+ // Webkit // Firefox

<body class="off">
  <div class="fadein scaleInv anim_1">
    <p class="fadein scaleInv anim_2">
      <a class="fadein scale anim_n"></a>
    </p>
  </div>
</body>

A little example where we toggle on/off class on $(window).load() event.

$(window).load(function() {
  $('body').toggleClass('on off');
});

Configuring the LESS file is easy, just choose the number of elements you are working with, the delay between each other and your are good to go.

@iterations:	15;	// number of elements to apply effects on
@delay:			0.15; // delay between elements transitions

There are some other options you can set too, it's up to you.

@opacity_start: 		0;
@opacity_finish:		1;
@opacity_speed_in:		0.5s; 	// seconds
@opacity_speed_out:		0.5s; 	// seconds
@opacity_delay_in:		0.5s; 	// seconds
@opacity_delay_out:		0.5s; 	// seconds
@opacity_easing_in: 		cubic-bezier(0,0,1,1);
@opacity_easing_out:		cubic-bezier(0,0,1,1);

Yummi-loader uses lesshat mixing, you can download it here: http://lesshat.com/ You can compile LESS files using one of these compilers. https://github.com/less/less.js/wiki/GUI-compilers-that-use-LESS.js

Support or Contact Having trouble or suggestions? Tweet me @gummibear_lab. Github page: http://gummibearlab.github.io/Yummi-loader/

yummi-loader's People

Contributors

therenard avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.