New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

loading-css

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loading-css

Tiny loaders and spinners made with only css and one div

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

loading.css

Tiny loaders and spinners made with only css and one div See demo

Install

Fork this repo

$ git clone https://github.com/welksonramos/loading.css.git

NPM

$ npm install loading-css --save

Manually

Download loading.css or loading.min.css from this repo and add it to your HTML.

Usage

  1. Include the stylesheet on your document's <head>
<link rel="stylesheet"  href="/path/to/loading.css">

or

<link rel="stylesheet"  href="/path/to/loading.min.css">
  1. Add the loading class followed by the appropriate class name of for the spinner.

Example:

<div class="loading ldgRing"></div>

Loading style classes

  • ldgBalls
  • ldgBar
  • ldgBattery
  • ldgDualRing
  • ldgFlip
  • ldgRing
  • ldgSignal
  • ldgSquare

File Structure

loading.css/
|-- docs                            // Examples
|   |-- index.html
|   |-- loading.css
|   |-- loading.min.css
|
|-- src/                            // Source Stylus files
|   |-- _efects/
|   |    |-- _balls.styl
|   |    |-- _bar.styl
|   |    |-- ...
|   |-- base.styl
|   |-- loading.styl
|
|-- loading.css
|-- loading.min.css
|-- package.json
|-- ...

Tasks

$ npm run start
$ npm run minify
$ npm run dev

License

Licensed under the MIT License

Keywords

FAQs

Package last updated on 08 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc