Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

Commit 9ffa57d

Browse files
authored
Update index.md
1 parent ad5e85a commit 9ffa57d

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

docs/docs/index.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Always use the latest version of package! Latest Version: v1.1.7.
3737

3838
## Buttons
3939

40+
### Bedrock Buttons
41+
42+
#### Normal
43+
4044
- To get a Minecraft BE/PE styled button you need to add `.button` class to your `button` element. Unfortunately, `.button` class will not work with links but you can still use it with Java Script.
4145

4246
<button class="button">Click Me</button>
@@ -45,6 +49,8 @@ Always use the latest version of package! Latest Version: v1.1.7.
4549
<button class="button">Click Me</button>
4650
```
4751

52+
#### Dark
53+
4854
- There is a dark variant of it also. To get dark button, use class `.button-dark` to your `button` element.
4955

5056
<button class="button-dark">Click Me</button>
@@ -53,6 +59,10 @@ Always use the latest version of package! Latest Version: v1.1.7.
5359
<button class="button-dark">Click Me</button>
5460
```
5561

62+
### Java Buttons
63+
64+
#### Normal
65+
5666
- To get a Minecraft Java Edition (New) styled button you need to add `.button-java` class to your `button` element. Unfortunately, `.button-java` class will not work with links but you can still use it with Java Script.
5767

5868
<button class="button-java">Click Me</button>
@@ -61,6 +71,8 @@ Always use the latest version of package! Latest Version: v1.1.7.
6171
<button class="button-java">Click Me</button>
6272
```
6373

74+
#### Old
75+
6476
- To get a Minecraft Java Edition (Old) styled button you need to add `.button-java-old` class to your `button` element.
6577

6678
<button class="button-java-old">Click Me</button>
@@ -69,6 +81,8 @@ Always use the latest version of package! Latest Version: v1.1.7.
6981
<button class="button-java-old">Click Me</button>
7082
```
7183

84+
#### Full Width
85+
7286
- There is also more width style of Java buttons. Add `-w` to the classes. Warning: They might be broken because of the styling of the Documentation.
7387

7488
<button class="button-java-w">Click Me</button>
@@ -93,7 +107,7 @@ Always use the latest version of package! Latest Version: v1.1.7.
93107
</div>
94108
```
95109

96-
**Button Sounds (Java Script)**
110+
#### Button Sounds (Java Script)
97111

98112
- There is click sound in Minecraft called random.click which is for button click. So, to add this to your `button`, you need to add `onclick` event: `onclick="soundOn()"`. Make sure that you linked the Script tag to your file!
99113

0 commit comments

Comments
 (0)