1.0.0 • Published 9 years ago

vui-loading-spinner v1.0.0

Weekly downloads
5
License
Apache-2.0
Repository
github
Last release
9 years ago

vui-loading-spinner

NPM version Build status

This component contains Sass mixins and CSS that can be used to create a loading spinner.

Usage

@include vui-loading-spinner( size, thickness, colour ) Accepts all unit types except for %

//HTML
<div class='container'>
	<div/> // Needed in order to load the spinner arm. Animations on psuedo elements in safari 6 do not work
</div>

//CSS or SASS
.container {
	@include vui-loading-spinner; //Will use default style
}

OR

.container {
	@include vui-loading-spinner( 10px, 20px, #ccccc )
}

For further information on this component and other VUI components, see the docs at ui.valence.d2l.com.

Coding styles

See the VUI Best Practices & Style Guide for information on VUI naming conventions, plus information about the EditorConfig rules used in this repo.