switch anleitung

This commit is contained in:
stitz 2020-04-20 00:44:45 +02:00
parent f340642a31
commit deddb088b0

View File

@ -44,4 +44,11 @@ git submodule add https://git.seemsleg.it/ef/cssjs-func-lib cssjs
.grid-item { width: 200px; }
.grid-item--width2 { width: 400px; }
```
## Checkbox Switch
```
<link rel="stylesheet" href="/cssjs/switch.css">
<input type="checkbox" name="publish" id="checkPub" value="1" ' . ($data ['publish'] ? 'checked="true"' : '') . ' /><label for="checkPub"></label>
```