"Transparent forms in tables / Простые формы ввода в таблице"
Bootstrap 3.2.0 Snippet by Vampireos

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <br> <div class="col-sm-6"> <div class="panel panel-primary"> <div class="panel-heading">Пользователи</div> <table class="table table-bordered"> <thead> <tr> <th>#</th> <th>Имя</th> <th>Фамилия</th> <th>Ник</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>Mark</td> <td>Otto</td> <td><input id="name" class="form-control" placeholder="как вас зовут.."></td> </tr> <tr> <td>2</td> <td>Jacob</td> <td><input id="name" class="form-control" placeholder="как вас зовут.."></td> <td>@fat</td> </tr> <tr> <td>3</td> <td><input id="name" class="form-control" placeholder="как вас зовут.."></td> <td>the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> <div class="col-sm-4"> <table class="table table-bordered"> <tr> <td class="col-sm-1 text-right"> <label for="name1">Имя</label> </td> <td class="col-sm-3"> <input id="name1" class="form-control" placeholder="как вас зовут.."> </td> </tr> <tr> <td class="col-sm-1 text-right"> <label for="family">Фамилия</label> </td> <td class="col-sm-3"> <input id="family" class="form-control" placeholder="ваша фамилия.."> </td> </tr> </table> </div> </div> </div>
.form-control{border:0; box-shadow:none} .form-control:focus{box-shadow:none;} label{color:#999; padding-top: 5px; display:block; left:0; width:100%} .panel{border-width:2px; border-radius:7px} .table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td{border:2px solid #eee; vertical-align: middle;} .table-bordered{border-radius:7px} .form-control::-moz-placeholder { color: #999; opacity: 1 } .form-control:-ms-input-placeholder { color: #999 } .form-control::-webkit-input-placeholder { color: #999 }

Related: See More


Questions / Comments: