(inspired by Googles Material Design)
demo: git.tim-greller.de/input
- Include the stylesheet:
- If you provide the file yourself:
<link rel="stylesheet" href="input.css">
- If you want to include the latest version automatically without downloading anything from this repository:
<link rel="stylesheet" href="https://tim-greller.de/git/input/input.css">
- If you provide the file yourself:
- Create an input with a custom label:
<div class="input"> <input type="text" required/> <label>This is an input</label> </div>
- You can now adjust width, height, padding, border and margin of the input-div.