Windy CSS styleguide

7 #loaders Loaders

Basic loading classes

Source: src/css/components/loading.less, line 1
Example
Markup
<div class="wrapper-el bg-gray">
             <div class="big-loader" style="left: 50%;"></div>
        </div>
Source: src/css/components/loading.less, line 102
Example
Markup
<div class="loading-circle"></div>
Source: src/css/components/loading.less, line 7

7.3 #loaders.loading .loading

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

Basic pure CSS loader, by default hidden. Use class show to display loader on a desired place. All the sizes are supported.

Examples
Default styling
.size-s
modifies the size
.size-l
modifies the size
.size-xxl
modifies the size
.size-ultra
modifies the size
.ld-white
white color
.ld-gray
gray color
.ld-gray-light
light gray color
.ld-red
red color
Markup
<div class="loading show [modifier class]"></div>
Source: src/css/components/loading.less, line 26

7.3.1 #loaders.loading.full .full

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

Use class loading full to place itself in the middle of element, with some predefined colors, sizes

Example
Markup
<div class="wrapper-el">
             <div class="loading full show"></div>
         </div>
Source: src/css/components/loading.less, line 80