Skip to content

Commit 825fca1

Browse files
Merge pull request #9 from shadowmaru/master
Spelling and grammar fixes; localhost port fix
2 parents 527bbde + 60f860c commit 825fca1

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# CSS loader
22

3-
> A couple of simple examples of loaders using only one `div` and *CSS*.
3+
> A few simple examples of loaders using only one `div` and *CSS*.
44
55
![loader-g](https://cloud.githubusercontent.com/assets/1345662/19414412/5e472d6c-9322-11e6-9407-5e3662072aee.gif)
66

77
[Try it online! :metal:](http://www.raphaelfabeni.com.br/css-loader/)
88

99
## Why
1010

11-
Usually it's common to show a loader to the users when they must wait something in a web application (an _ajax_ request or a form submit, etc). _Gif_image loaders was great but using CSS we can avoid the image request, also it's easier for customise and maintain and it's more cool.
11+
It's usually common to show a loader to users when they must wait for something in a web application (an _ajax_ request or a form submit, etc). _Gif_ image loaders were great but by using CSS we can avoid the image request, also it's easier to customise and maintain and it's cooler.
1212

1313
## toc
1414

@@ -31,17 +31,17 @@ Usually it's common to show a loader to the users when they must wait something
3131
npm install pure-css-loader
3232
```
3333

34-
Also you can clone the repository or [download the zip file](https://github.com/raphaelfabeni/css-loader/archive/master.zip) and get main *CSS* file that it's located in: `dist/css-loader.css`.
34+
Also you can clone the repository or [download the zip file](https://github.com/raphaelfabeni/css-loader/archive/master.zip) and get the main *CSS* file that is located in: `dist/css-loader.css`.
3535

3636
## Setup
3737

38-
Add the CSS file in your project and add the link to the file:
38+
Add the CSS file to your project and add the link to the file:
3939

4040
```html
4141
<link rel="stylesheet" href="path/to/css-loader.css">
4242
```
4343

44-
Select the loader and add the HTML corresponding to it, To show the loader, you need to add the helper css class `is-active`. And to hide the loader, it's just follow the inverse, removing the css helper from the loader. You can do it with JavaScript.
44+
Select the loader and add the corresponding HTML. In order to show the loader, you need to add the helper CSS class `is-active`. And to hide the loader, just do the opposite, removing the CSS helper from the loader. You can do it with JavaScript.
4545

4646
```html
4747
<!-- Loader -->
@@ -65,7 +65,7 @@ Select the loader and add the HTML corresponding to it, To show the loader, you
6565

6666
#### Variations
6767

68-
**data-text**: it's to add a _Loading_ text into the loader. Just add the `data-text` attribute.
68+
**data-text**: add a _Loading_ text to the loader. Just add the `data-text` attribute.
6969

7070
```html
7171
<div class="loader loader-default is-active" data-text></div>
@@ -99,7 +99,7 @@ It's also possible to change the text, just passing a value to the attribute `da
9999

100100
[See it](http://raphaelfabeni.com.br/css-loader/#/loader-default-half) :metal:
101101

102-
They variations _half_, _data-text_ and _blink_ work together. 😄
102+
The variations _half_, _data-text_ and _blink_ work together. 😄
103103

104104
### Double
105105

@@ -123,7 +123,7 @@ They variations _half_, _data-text_ and _blink_ work together. 😄
123123

124124
#### Variations
125125

126-
Like the `loader` example, it's also possible pass the `data-text` and `blink` attributes.
126+
Like the `loader` example, it's also possible to pass the `data-text` and `blink` attributes.
127127

128128
```html
129129
<div class="loader loader-bar is-active" data-text></div>
@@ -157,7 +157,7 @@ Like the `loader` example, it's also possible pass the `data-text` and `blink` a
157157

158158
#### Variations
159159

160-
Like the `loader` example, it's also possible pass the `data-text` and `blink` attributes.
160+
Like the `loader` example, it's also possible to pass the `data-text` and `blink` attributes.
161161

162162
```html
163163
<div class="loader loader-border is-active" data-text></div>
@@ -199,7 +199,7 @@ Like the `loader` example, it's also possible pass the `data-text` and `blink` a
199199

200200
#### Variations
201201

202-
*w/ screen text*: it's possible to pass an attribute to loader and show a simple text inside the screen. Like the others one, if we only pass the attribute, a default _loading_ text shows; but you can pass a custom text. Just remember that can't be a big word (our smartphone screen is small).
202+
*w/ screen text*: it's possible to pass an attribute to the loader and show a simple text inside the screen. Like the other one, if we only pass the attribute, a default _loading_ text is shown; but you can pass a custom text. Just remember that it can't be a big word (our smartphone screen is small).
203203

204204
```html
205205
<!-- default loading text -->
@@ -227,7 +227,7 @@ Like the `loader` example, it's also possible pass the `data-text` and `blink` a
227227

228228
1. Clone this repository.
229229
2. `npm install` and `gulp`
230-
3. Open => `http://localhost:300`
230+
3. Open => `http://localhost:3000`
231231
4. Make your magic contribution.
232232
5. Open a _PR_ with a new branch describing your changes. <o/
233233

@@ -239,9 +239,9 @@ All examples use CSS _animation_ which is supported by [most current browsers](h
239239
|:---:|:---:|:---:|:---:|:---:|:---:|
240240
| 43+ ✔ | 16+ ✔ | 10+ ✔ | 30+ ✔ | 9+ ✔ | 5.2+ ✔
241241

242-
Based on _Can i Use_. One thing to note is the CSS file has no browsers prefixes, but you can easily add and increase the support of the browsers.
242+
Based on _Can i Use_. One thing to note is that the CSS file has no browser prefixes, but you can easily add them and increase the browser support.
243243

244-
## Licence
244+
## License
245245

246246
[MIT License](https://raphaelfabeni.mit-license.org/) © Raphael Fabeni
247247

0 commit comments

Comments
 (0)