# SpinKit **Repository Path**: mirrors/SpinKit ## Basic Information - **Project Name**: SpinKit - **Description**: SpinKit 用来实现各种动态的 Activity Indicator,用于表示正在加载、正在运行等等状态 - **Primary Language**: HTML/CSS - **License**: MIT - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/SpinKit - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 2 - **Created**: 2017-07-11 - **Last Updated**: 2025-12-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # [SpinKit](http://tobiasahlin.com/spinkit/) Simple loading spinners animated with CSS. See [demo](http://tobiasahlin.com/spinkit/). SpinKit only uses (`transform` and `opacity`) CSS animations to create smooth and easily customizable animations. ## Usage - Add `spinkit.css` or `spinkit.min.css` to your project (or copy-paste the CSS that you need for your spinner—there are no dependencies between spinners, no shared classes, and no shared animations, etc, so it should be fairly straight-forward to extract only the code that you need) - Add a spinner to your project by copy-pasting HTML from `spinkit.css` or `examples.html` - Add the `sk-center` utility class to the spinner to center it (it sets `margin` to `auto`) - By default, the `width` and `height` of all spinners are set to `40px`. `background-color` is set to `#333`. - Configure the spinner by overwriting the CSS variables, primarily `--sk-size` (spinner width & height) and `--sk-color` (spinner color). If you need broader browser support, remove the CSS variables. You can include SpinKit to your project with `bower`: ```bash $ bower install spinkit ``` or npm: ```bash $ npm install spinkit ``` ## Spinners Given that you have included `spinkit.min.css` in your project, these snippets will produce the different spinners: ### Plane ```html
``` ### Chase ```html