<form> <div class="form-froup"> <label for="exampleInputEmail">E-mail</label> <input type="email" class="form-control" id="exampleInputEmail" aria-describdby="emailHelp" placeholder="Email"> <small id="emailHelp" class="form-text text-muted">Entre your E-mail</small> </div> <div class="form-froup"> <label for="exampleInputPass">Пароль</label> <input type="password" class="form-control" id="exampleInputpass" placeholder="Password"> <small id="passHelp" class="form-text text-muted">Password moust have 10 diget</small> </div> <div class="form-check"> <label class="form-check-label"> <input type="checkbox" class="form-check-input"> Запам'ятати мене </label> </div> <button type="submit" class="btn btn-primary">Відправити</button> </form> form-control form-control-sm/lg - розмір менше/більше required - обов'язковий disabled - неактивний В сітці використовуємо "form-row" для кращих відступів |
Головна > Bootstrap 4 >