Skip to content

Commit 4129fd6

Browse files
Merge pull request #17 from raphaelfabeni/development
Add the loader music (first version)
2 parents 5ad86c5 + 47bd2ab commit 4129fd6

File tree

8 files changed

+275
-3
lines changed

8 files changed

+275
-3
lines changed

README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ It's usually common to show a loader to users when they must wait for something
2323
* [smartphone](#smartphone)
2424
* [clock](#clock)
2525
* [curtain](#curtain)
26+
* [music](#music)
2627
* [Contributing](#contributing)
2728
* [Browser Support](#browser-support)
2829

@@ -262,6 +263,56 @@ Like the `loader` example, it's also possible to pass the `data-text` and `blink
262263
<div class="loader loader-curtain is-active" colorful curtain-text="Hello"></div>
263264
```
264265

266+
### Music
267+
268+
```html
269+
<div class="loader loader-music is-active" hey-oh></div>
270+
```
271+
272+
This loader differs from the other because we have to pass an attribute to it, according to song's chorus that we want to load.
273+
274+
#### Variations
275+
276+
**hey-oh**: The classic [Hey! Oh! Let's Go!](https://www.youtube.com/watch?v=xuOnePNlOgY) from Ramones.
277+
278+
```html
279+
<div class="loader loader-music is-active" hey-oh></div>
280+
```
281+
282+
![loader-music-hey-oh](https://cloud.githubusercontent.com/assets/1345662/20288053/c3179248-aab7-11e6-8551-9819f523fbee.gif)
283+
284+
[See it](http://raphaelfabeni.com.br/css-loader/#/loader-music-hey-oh) :metal:
285+
286+
**no-cry**: [No woman no cry](https://www.youtube.com/watch?v=x59kS2AOrGM) from Bob Marley.
287+
288+
```html
289+
<div class="loader loader-music is-active" no-cry></div>
290+
```
291+
292+
![loader-music-no-woman](https://cloud.githubusercontent.com/assets/1345662/20288054/c3363950-aab7-11e6-882a-8fdecdca06d3.gif)
293+
294+
[See it](http://raphaelfabeni.com.br/css-loader/#/loader-music-no-cry) :metal:
295+
296+
**we-are**: [We are the world](https://www.youtube.com/watch?v=x59kS2AOrGM) from Michael Jackson.
297+
298+
```html
299+
<div class="loader loader-music is-active" we-are></div>
300+
```
301+
302+
![loader-music-we-are](https://cloud.githubusercontent.com/assets/1345662/20288055/c33fd910-aab7-11e6-8a0d-6cd303759c92.gif)
303+
304+
[See it](http://raphaelfabeni.com.br/css-loader/#/loader-music-we-are) :metal:
305+
306+
**rock-you**: [We will rock you](https://www.youtube.com/watch?v=-tJYN-eG1zk) from Queen.
307+
308+
```html
309+
<div class="loader loader-music is-active" rock-you></div>
310+
```
311+
312+
![loader-music-we-will](https://cloud.githubusercontent.com/assets/1345662/20288056/c344bf66-aab7-11e6-9adb-7fbc21bf1c09.gif)
313+
314+
[See it](http://raphaelfabeni.com.br/css-loader/#/loader-music-rock-you) :metal:
315+
265316
## Contributing
266317

267318
1. Clone this repository.

dist/css-loader.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)