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

Commit cd5099e

Browse files
authored
Update index.md
1 parent cbcdbc7 commit cd5099e

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

docs/docs/index.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,48 @@ Centered Text: Use `.text-center` to center the text.
291291
</select>
292292
```
293293

294+
## Server Forms
295+
296+
As, there are server forms in servers like Hive etc. And you also have seen them. Here are the Web Ones!
297+
298+
::: warning
299+
Server Forms are not created to like just copy pasting! You've to use your CSS and HTML also!
300+
:::
301+
302+
- To have a simple form, add `server-form` class to your `div`, `p` or `form` element. Inside this you can have your buttons etc.
303+
304+
<form class="server-form">
305+
<label>Choose the Options!</label>
306+
<button class="button full-width">Click Me</button>
307+
<button class="button full-width">Go Back</button>
308+
</form>
309+
310+
```html
311+
<form class="server-form">
312+
<label>Choose the Options!</label>
313+
<button class="button full-width">Click Me</button>
314+
<button class="button full-width">Go Back</button>
315+
</form>
316+
```
317+
318+
- To have a form with title, add `server-form-with-title` class to your `div`, `p` or `form` element. Inside this you can have your buttons etc.
319+
320+
Add `form-title` class to a `div`, where you can add your title.
321+
322+
<form class="server-form-with-title">
323+
<div class="form-title">Choose the Options</div><br>
324+
<button class="button full-width">Click Me</button>
325+
<button class="button full-width">Go Back</button>
326+
</form>
327+
328+
```html
329+
<form class="server-form-with-title">
330+
<div class="form-title">Choose the Options</div><br>
331+
<button class="button full-width">Click Me</button>
332+
<button class="button full-width">Go Back</button>
333+
</form>
334+
```
335+
294336
## Cursors
295337

296338
Well as you know, In MCBE, there are custom cursors.

0 commit comments

Comments
 (0)