Load animations with modern CSS.
More spinner are very welcome, but there are some rules, to get a successfull merge.
- Use only HTML and CSS, no JavaScript, no Canvas, no SVG, no GIF, no Flash ... especially no(!) Flash.
- Write your CSS in Stylus, not pure CSS, SASS, LESS, whatever.
- The loader have to work in modern major web browsers. It's ok, if a loader only works in a browser version, that is only one day old, but please document this. It's a plus, if the loader also works in older browsers, but it's not necessary. Major browsers are Chrome, Firefox, IE, Safari and Opera.
- No rule without an exception. If the loader is cool enough, it's absolutely ok, if it's only works in Chrome ;).
- For the default skin, use the default colors of the pleaseWait-Page.
- Do not use
opacity
,rgba
is the better way. - The max size of a spinner should be 30x30px
- Oh, and did I say that: NO FLASH!
- Please fork the actual project
- create a folder for your new spinner inside of the spinner directory
- make sure, that your new folder includes an info.json, a html file and a stylus file
- for development you can use
grunt watch
which generate always a new build including your new spinner atdist/index.html
- if you're done, make sure you followed the rules and add / commit your new spinner folder
- make pull request
Example folder structure:
spinner | yourNewSpinner | - info.json
| - yourNewSpinner.html
| - yourNewSpinner.styl
- Upgrading to Styl
- Showing CSS and HTML directly on the page
- Editable CSS and HTML on the page for experiencing
- UI elements to configure the spinner/loader animations