@@ -85,10 +85,10 @@ It's also possible to change the text, just passing a value to the attribute `da
85
85
86
86
![ loader-data-text-custom] ( https://cloud.githubusercontent.com/assets/1345662/19313797/21e3fb22-906e-11e6-8f0a-11cc9c0fb8d2.gif )
87
87
88
- ** blink** : passing the ` blink ` attribute, you can add a simple _ fade_ animation to the text loader
88
+ ** blink** : passing the ` data- blink` attribute, you can add a simple _ fade_ animation to the text loader
89
89
90
90
``` html
91
- <div class =" loader loader-default is-active" data-text blink ></div >
91
+ <div class =" loader loader-default is-active" data-text data- blink ></div >
92
92
```
93
93
94
94
![ loader-blink] ( https://cloud.githubusercontent.com/assets/1345662/19313798/25fa2830-906e-11e6-88d2-2f165a68cb80.gif )
@@ -101,7 +101,7 @@ It's also possible to change the text, just passing a value to the attribute `da
101
101
102
102
[ See it] ( http://raphaelfabeni.com.br/css-loader/#/loader-default-half ) :metal :
103
103
104
- The variations _ half _ , _ data-text_ and _ blink _ work together. 😄
104
+ The variations _ data-half _ , _ data-text_ and _ data-blink _ work together. 😄
105
105
106
106
### Double
107
107
@@ -132,17 +132,17 @@ Like the `loader` example, it's also possible to pass the `data-text` and `blink
132
132
<!-- -->
133
133
<div class =" loader loader-bar is-active" data-text =" Custom text" ></div >
134
134
<!-- -->
135
- <div class =" loader loader-bar is-active" data-text blink ></div >
135
+ <div class =" loader loader-bar is-active" data-text data- blink ></div >
136
136
```
137
137
138
138
[ See it] ( http://raphaelfabeni.com.br/css-loader/#/loader-bar-text ) :metal :
139
139
140
- ** rounded** : passing the ` rounded ` attribute, it's possible to add a simple ` border-radius ` to the loader.
140
+ ** rounded** : passing the ` data- rounded` attribute, it's possible to add a simple ` border-radius ` to the loader.
141
141
142
142
![ loader-bar-rounded] ( https://cloud.githubusercontent.com/assets/1345662/19315031/ab850700-9072-11e6-9cd4-9fe899f05a10.gif )
143
143
144
144
``` html
145
- <div class =" loader loader-bar is-active" data-text rounded ></div >
145
+ <div class =" loader loader-bar is-active" data-text data- rounded ></div >
146
146
```
147
147
148
148
[ See it] ( http://raphaelfabeni.com.br/css-loader/#/loader-bar-rounded ) :metal :
@@ -166,7 +166,7 @@ Like the `loader` example, it's also possible to pass the `data-text` and `blink
166
166
<!-- -->
167
167
<div class =" loader loader-border is-active" data-text =" Custom text" ></div >
168
168
<!-- -->
169
- <div class =" loader loader-border is-active" data-text blink ></div >
169
+ <div class =" loader loader-border is-active" data-text data- blink ></div >
170
170
```
171
171
172
172
[ See it] ( http://raphaelfabeni.com.br/css-loader/#/loader-border-text ) :metal :
@@ -187,6 +187,10 @@ Like the `loader` example, it's also possible to pass the `data-text` and `blink
187
187
188
188
![ loader-ball-shadow] ( https://cloud.githubusercontent.com/assets/1345662/19502619/06f1c906-958d-11e6-87c9-d64b13688485.gif )
189
189
190
+ ``` html
191
+ <div class =" loader loader-ball is-active" data-shadow ></div >
192
+ ```
193
+
190
194
[ See it] ( http://raphaelfabeni.com.br/css-loader/#/loader-ball-shadow ) :metal :
191
195
192
196
### Smartphone
@@ -240,7 +244,7 @@ Like the `loader` example, it's also possible to pass the `data-text` and `blink
240
244
** brazilian** : a simple version using the traditional brazilian green and yellow. :brazil :
241
245
242
246
``` html
243
- <div class =" loader loader-curtain is-active" brazilian ></div >
247
+ <div class =" loader loader-curtain is-active" data- brazilian ></div >
244
248
```
245
249
246
250
![ loader-curtain-br] ( https://cloud.githubusercontent.com/assets/1345662/20083191/fd5596c4-a541-11e6-8f26-1a9325e0401e.gif )
@@ -250,23 +254,23 @@ Like the `loader` example, it's also possible to pass the `data-text` and `blink
250
254
** colorful** : a colorful version.
251
255
252
256
``` html
253
- <div class =" loader loader-curtain is-active" colorful ></div >
257
+ <div class =" loader loader-curtain is-active" data- colorful ></div >
254
258
```
255
259
256
260
![ loader-curtain-color] ( https://cloud.githubusercontent.com/assets/1345662/20083192/fd59f854-a541-11e6-97eb-6bd380ff5356.gif )
257
261
258
262
[ See it] ( http://raphaelfabeni.com.br/css-loader/#/loader-curtain-colorful ) :metal :
259
263
260
- ** w/ custom text** : it's also possible customize the text loader. It's just pass the data attribute ` curtain-text ` with the value desired.
264
+ ** w/ custom text** : it's also possible customize the text loader. It's just pass the data attribute ` data- curtain-text` with the value desired.
261
265
262
266
``` html
263
- <div class =" loader loader-curtain is-active" colorful curtain-text =" Hello" ></div >
267
+ <div class =" loader loader-curtain is-active" colorful data- curtain-text =" Hello" ></div >
264
268
```
265
269
266
270
### Music
267
271
268
272
``` html
269
- <div class =" loader loader-music is-active" hey-oh ></div >
273
+ <div class =" loader loader-music is-active" data- hey-oh ></div >
270
274
```
271
275
272
276
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.
@@ -276,7 +280,7 @@ This loader differs from the other because we have to pass an attribute to it, a
276
280
** hey-oh** : The classic [ Hey! Oh! Let's Go!] ( https://www.youtube.com/watch?v=xuOnePNlOgY ) from Ramones.
277
281
278
282
``` html
279
- <div class =" loader loader-music is-active" hey-oh ></div >
283
+ <div class =" loader loader-music is-active" data- hey-oh ></div >
280
284
```
281
285
282
286
![ loader-music-hey-oh] ( https://cloud.githubusercontent.com/assets/1345662/20288053/c3179248-aab7-11e6-8551-9819f523fbee.gif )
@@ -286,7 +290,7 @@ This loader differs from the other because we have to pass an attribute to it, a
286
290
** no-cry** : [ No woman no cry] ( https://www.youtube.com/watch?v=x59kS2AOrGM ) from Bob Marley.
287
291
288
292
``` html
289
- <div class =" loader loader-music is-active" no-cry ></div >
293
+ <div class =" loader loader-music is-active" data- no-cry ></div >
290
294
```
291
295
292
296
![ loader-music-no-woman] ( https://cloud.githubusercontent.com/assets/1345662/20288054/c3363950-aab7-11e6-882a-8fdecdca06d3.gif )
@@ -296,7 +300,7 @@ This loader differs from the other because we have to pass an attribute to it, a
296
300
** we-are** : [ We are the world] ( https://www.youtube.com/watch?v=x59kS2AOrGM ) from Michael Jackson.
297
301
298
302
``` html
299
- <div class =" loader loader-music is-active" we-are ></div >
303
+ <div class =" loader loader-music is-active" data- we-are ></div >
300
304
```
301
305
302
306
![ loader-music-we-are] ( https://cloud.githubusercontent.com/assets/1345662/20288055/c33fd910-aab7-11e6-8a0d-6cd303759c92.gif )
@@ -306,7 +310,7 @@ This loader differs from the other because we have to pass an attribute to it, a
306
310
** rock-you** : [ We will rock you] ( https://www.youtube.com/watch?v=-tJYN-eG1zk ) from Queen.
307
311
308
312
``` html
309
- <div class =" loader loader-music is-active" rock-you ></div >
313
+ <div class =" loader loader-music is-active" data- rock-you ></div >
310
314
```
311
315
312
316
![ loader-music-we-will] ( https://cloud.githubusercontent.com/assets/1345662/20288056/c344bf66-aab7-11e6-9adb-7fbc21bf1c09.gif )
0 commit comments