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

ariutta-loading

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

ariutta-loading

Simple loading style CSS

1.0.0
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

ariutta-loading

Simple loading style CSS

How To Use

The parent of the element that will contain your content must have the following styles set:

.my-element-parent-selector {
  display: flex;
  align-items: center;
  justify-content: center;
}

Then you just need to reference ariutta-loading.css from your HTML page and add the class ariutta-loading to your content container element:

<!DOCTYPE html>
<html>

  <head>
    <link rel="stylesheet" href="ariutta-loading.css">
  </head>

  <body>
    <div class="my-element-parent-selector">
      <div class="ariutta-loading">
        <!-- when your content has loaded, remove the ariutta loading class -->
      </div>
    </div>
  </body>

</html>

To add via JS, simply require this module:

require('ariutta-loading');

Acknowledgments

Thanks to https://github.com/lukehaas/css-loaders for CSS used as starting point.

Keywords

loader

FAQs

Package last updated on 21 Jan 2016

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