Skip to content

Commit df463b9

Browse files
committed
tweak README
1 parent 7d1b364 commit df463b9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ handy library to manipulate loader's state. for more information, please check [
77

88
create an object for each loader you want to use:
99

10-
````
1110
var ldld = new ldloader(config);
12-
````
1311

1412

1513
config includes following options:
@@ -60,7 +58,7 @@ Methods:
6058

6159
## Styling and Structure
6260

63-
There is no constraint about how ldloader's DOM structure should be. Basically it contains an element for loader, and the element's parent in which the loader is shown. You control all the animation and effects based on ```active-class``` toggled by ldloader.
61+
There is no constraint about how ldloader's DOM structure should be. Basically it contains an element for loader, and the element's parent in which the loader is shown. You control all the animation and effects based on `active-class` toggled by ldloader.
6462

6563
For convenience, ldloader is shipped with some builtin css for simple usage:
6664

@@ -76,9 +74,8 @@ For convenience, ldloader is shipped with some builtin css for simple usage:
7674
* .ldld.light - rgba(255,255,255,.5)
7775
* .ldld.dark - rgba(0,0,0,.5)
7876

79-
You can also use ldloader along with ```loading-btn``` and ```loading.css```:
77+
You can also use ldloader along with `loading-btn` and `loading.css`:
8078

81-
```
8279
<div class="btn ld-ext-right">
8380
Load
8481
<div class="ld ld-ball ld-bounce"></div>
@@ -87,7 +84,6 @@ You can also use ldloader along with ```loading-btn``` and ```loading.css```:
8784
var ldld = new ldloader({root: ".ld-ext-right"});
8885
ldld.on(); ldld.off(1000);
8986
</script>
90-
```
9187

9288

9389
## License

0 commit comments

Comments
 (0)