Skip to content

Commit 8e8fe68

Browse files
committed
Merge pull request #12 from thecotne/master
Better use of markdown in README
2 parents b283dac + 8610f42 commit 8e8fe68

File tree

1 file changed

+42
-84
lines changed

1 file changed

+42
-84
lines changed

README.md

+42-84
Original file line numberDiff line numberDiff line change
@@ -3,102 +3,60 @@ Spinner.css
33

44
Simple CSS loading indicators made with CSS and minimal HTML markup.
55

6-
## Markup
6+
Markup
7+
------
78

89
All loading indicators are designed to be used with the following markup:
910

10-
<div class="loading-indicator">
11-
Loading...
12-
</div>
11+
```html
12+
<div class="loading-indicator">
13+
Loading...
14+
</div>
15+
```
1316

1417
Simply replace "loading-indicator" with the class name of your choice.
1518

16-
## Using CSS
19+
Using CSS
20+
---------
1721

1822
To use a specific loading indicator link the appropriate file:
1923

20-
<link rel="stylesheet" href="css/spinner/throbber.css">
24+
```html
25+
<link rel="stylesheet" href="css/spinner/throbber.css">
26+
```
2127

2228
Or, if you'd like to have access to the entire library of spinners you can link the root file:
2329

24-
<link rel="stylesheet" href="css/spinners.css">
30+
```html
31+
<link rel="stylesheet" href="css/spinners.css">
32+
```
2533

2634
Then apply the appropriate class name for the spinner of your choice to the markup:
2735

28-
<div class="throbber-loader">
29-
Loading...
30-
</div>
31-
32-
33-
## Loading indicators
34-
35-
<table>
36-
<thead>
37-
<tr>
38-
<th>Class</th>
39-
<th>Description</th>
40-
</tr>
41-
</thead>
42-
<tbody>
43-
<tr>
44-
<td>.spinner-loader</td>
45-
<td>Spinning circles.</td>
46-
</tr>
47-
<tr>
48-
<td>.throbber-loader</td>
49-
<td>Animated Facebook-like throbber.</td>
50-
</tr>
51-
<tr>
52-
<td>.refreshing-loader</td>
53-
<td>Circular spinning arrow. Great for refreshing content.</td>
54-
</tr>
55-
<tr>
56-
<td>.heartbeat-loader</td>
57-
<td>Animated beating heart.</td>
58-
</tr>
59-
<tr>
60-
<td>.gauge-loader</td>
61-
<td>Animated speedometer-like gauge with rotating needle.</td>
62-
</tr>
63-
<tr>
64-
<td>.three-quarters-loader</td>
65-
<td>Minimal three-quarters donut spinner.</td>
66-
</tr>
67-
<tr>
68-
<td>.wobblebar-loader</td>
69-
<td>Animated wobbling progress bar.</td>
70-
</tr>
71-
<tr>
72-
<td>.atebits-loader</td>
73-
<td>Staight out of Letterpress, an animated rotating Atebits logo.</td>
74-
</tr>
75-
<tr>
76-
<td>.whirly-loader</td>
77-
<td>A comet-like rotating spinner.</td>
78-
</tr>
79-
<tr>
80-
<td>.flower-loader</td>
81-
<td>An animated spinning flower.</td>
82-
</tr>
83-
<tr>
84-
<td>.dots-loader</td>
85-
<td>Almost a rotating shell game. With dots!</td>
86-
</tr>
87-
<tr>
88-
<td>.circles-loader</td>
89-
<td>Three rotating multi-colored circles.</td>
90-
</tr>
91-
<tr>
92-
<td>.plus-loader</td>
93-
<td>Animated Google Plus-like loader.</td>
94-
</tr>
95-
<tr>
96-
<td>.ball-loader</td>
97-
<td>A bouncing ball.</td>
98-
</tr>
99-
<tr>
100-
<td>.hexdots-loader</td>
101-
<td>Similar to the dots animation, but with six!</td>
102-
</tr>
103-
</tbody>
104-
</table>
36+
```html
37+
<div class="throbber-loader">
38+
Loading...
39+
</div>
40+
```
41+
42+
43+
Loading indicators
44+
------------------
45+
46+
| Class | Description |
47+
| ---------------------- | -------------------------------------------------------------- |
48+
| .spinner-loader | Spinning circles. |
49+
| .throbber-loader | Animated Facebook-like throbber. |
50+
| .refreshing-loader | Circular spinning arrow. Great for refreshing content. |
51+
| .heartbeat-loader | Animated beating heart. |
52+
| .gauge-loader | Animated speedometer-like gauge with rotating needle. |
53+
| .three-quarters-loader | Minimal three-quarters donut spinner. |
54+
| .wobblebar-loader | Animated wobbling progress bar. |
55+
| .atebits-loader | Staight out of Letterpress, an animated rotating Atebits logo. |
56+
| .whirly-loader | A comet-like rotating spinner. |
57+
| .flower-loader | An animated spinning flower. |
58+
| .dots-loader | Almost a rotating shell game. With dots! |
59+
| .circles-loader | Three rotating multi-colored circles. |
60+
| .plus-loader | Animated Google Plus-like loader. |
61+
| .ball-loader | A bouncing ball. |
62+
| .hexdots-loader | Similar to the dots animation, but with six! |

0 commit comments

Comments
 (0)