• Stars
    star
    138
  • Rank 264,457 (Top 6 %)
  • Language Stylus
  • License
    MIT License
  • Created over 7 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

40+ Handcrafted CSS animations dedicated for your loaders

loading.css

loading.css preview

60+ Handcrafted CSS animations that are seamless repeatable. All animations in loading.css are designed for both one time and infinitely played. Online demo could be found here (Loading.css - 50+ Seamless Repeatable CSS Animation Β· Loading.io ).

Loading.css is used in building GIF, APNG and animated SVG in loading.io. Check following links to see how it works:

You can find more about animation generation in loading.io.

Usage

  1. download and include loading.css:
    <link rel="stylesheet" type="text/css" href="loading.css"/>

you an use a CDN, such as, from jsDelivr:

    <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/loadingio/[email protected]/dist/loading.min.css"/>
  1. Check the loading.css animation gallery for the animations you want to use. For example, say you want to use the spin animation

  2. Use the name as a CSS class prefixed with ld on the element you want to animate:

    <div class="ld ld-spin"></div>
  1. For more information, check out loading.css animation documentation.

Notice

Animations involving fliping ( e.g., rotateX, rotateY, rotateZ ) cause blinking glitches in Safari ( up to version 15.1 ). It's not a loading.css bug but a browser issue which is not yet solved.

A simple workaround is to wrap animated elements within a container with following style:

transform: translate3d(0,0,0)

However this creates a stacking context and may not work well with fixed positioned elements.

LICENSE

MIT License

More Repositories

1

css-spinner

small, elegant pure css spinner for ajax or loading animation
JavaScript
1,731
star
2

loading-bar

Flexible, light weighted and super fast Progress Bar Library
LiveScript
407
star
3

transition.css

css animation for transitional effect
LiveScript
61
star
4

ldloader

handy library to manipulate loader's state.
JavaScript
21
star
5

ldcover

popup / dialog library
HTML
13
star
6

ldbutton

css for button that loads
JavaScript
12
star
7

ldcolorpicker

Palette-awared Color Picker
Pug
8
star
8

awesome-animation

8
star
9

rainbow-heart

a sample collection of animated rainbow heart from loading.io for demonstration purpose.
7
star
10

ldslider

Slider library in Vanilla JS
JavaScript
5
star
11

ldquery

lightweight DOM Helpers in vanillaJS.
LiveScript
4
star
12

transition.js

JavaScript
3
star
13

ldlazy

Vanilla JS Lazy Show Library
JavaScript
3
star
14

angular-loading-bar

TypeScript
3
star
15

ldscroll

HTML
2
star
16

proxise

Proxy for Promise resolving outside Promise function.
LiveScript
2
star
17

ldiconfont

iconfont builder along with a set of prebuilt pixel-perfect icons.
JavaScript
2
star
18

ldfile

JavaScript
2
star
19

state.css

Stateful CSS Animations
HTML
2
star
20

ldParallax

HTML
2
star
21

polling

tiny vanilla JS Polling library
LiveScript
2
star
22

ldcaret

caret manipulation library in Vanilla JS.
JavaScript
2
star
23

debounce.js

Promise-based function debouncing for JavaScript
LiveScript
2
star
24

ldview

A simple, logic-less client side template engine.
JavaScript
2
star
25

cubify

transform path d attribute into list of cubic bezier segment
JavaScript
2
star
26

cdn

a dummy cdn for loading.io projects
Shell
2
star
27

ldgradienteditor

Minimalist, Lightweight, Vanilla Gradient Editor
JavaScript
2
star
28

easing-fit

LiveScript
2
star
29

g0v-icons

animated icons for the civic tech community g0v
HTML
2
star
30

ldform

LiveScript
1
star
31

ldnotify

CSS
1
star
32

ldSite

LiveScript
1
star
33

ldpalettepicker

JavaScript
1
star
34

three

JavaScript
1
star
35

svgtool

LiveScript
1
star
36

wp-svg-reload

PHP
1
star
37

cubic

JavaScript
1
star
38

vscroll

HTML
1
star
39

mini-fonts

minimized version of the fonts used in loading.io
LiveScript
1
star
40

inline-webfont

font subsetting to 95 core glyphs + woff2 + inline with dataurify in CSS
LiveScript
1
star
41

signimg

CSS
1
star
42

ldstate

JavaScript
1
star
43

ldText

letter-based animation library
LiveScript
1
star
44

ldcolor

lightweight JS color library, adopted from d3-color.
LiveScript
1
star