Demo: https://ppphiiil.github.io/20210407-learning-login/
See which form is active
```
input:focus{
background-color: rgb(229, 229, 231);
outline: none;d
}
```
Place labels above form elements, not to the left of them
```
.login-form > label{
/* display */
display:block;
width:100%;
/* styling */
color:rgb(165, 167, 182);
/* font-family: Roboto,Verdana, Geneva, Tahoma, sans-serif; */
font-size: 1.3rem;
}
```
Arrange lists, checkboxes, and radio buttons vertically
```
```
enought distance between inputs
```
```
Use a stepped or multi-screen format for long forms
```
```
If you do use optional fields, clearly mark them
```
```
correct autocomplete="tel" / autocomplete="one-time-code" /browser auto-fill
```
```
keyboard usability, (tab) Make your form usable without a mouse
```
```
inputtype and right inputmdode for showing the right keyboard
```
```
Optimize the order of your form fields
```
```
Use a one-column layout
```
```
Label fields clearly and concisely
```
```
Show extra infos: Address users’ concerns in the place they will arise
```
```
Always show label helper text
```
```
Responsive Webdesign
```
```
Allow copy and paste
```
```
On mobile, don’t auto-hide password entry
```
```
Allow users to resize fields themselves where appropriate
```
```
interactive button
```
```
Use inline validation in preference to submit validation
```
```
Wherever possible, the system should correct format errors itself
```
```
Use inline validation to confirm user progress
```
```
Ensure that error messages help the user to fix the error
```
```
if you reload the page, your input is saved in Local Storage
```
```
Test and optimize your form for all major browsers and devices
Form speed is often a neglected consideration during testing. Consider the following metrics:
https://trydesignlab.com/blog/ui-design-best-practices-form-design-ux-part-1/
https://css-tricks.com/better-form-inputs-for-better-mobile-user-experiences/
Vorlage
Text
```
```
Text
```
```