placeholder test
This commit is contained in:
parent
4478d15ee1
commit
a0acf68849
2 changed files with 24 additions and 9 deletions
|
|
@ -266,6 +266,14 @@ body.webbpm.ervu_lkrp_ul {
|
|||
background-image: url(../img/svg/form-logo.svg);
|
||||
}
|
||||
}
|
||||
.row {
|
||||
position: relative;
|
||||
margin-bottom: 0;
|
||||
|
||||
& + .row {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
input {
|
||||
height: 56px;
|
||||
padding-left: 16px;
|
||||
|
|
@ -282,19 +290,26 @@ body.webbpm.ervu_lkrp_ul {
|
|||
background-color: var(--bg-light);
|
||||
}
|
||||
}
|
||||
}
|
||||
.row {
|
||||
margin-bottom: 0;
|
||||
|
||||
& + .row {
|
||||
margin-top: 20px;
|
||||
& + label {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
pointer-events: none;
|
||||
transition: all 200ms;
|
||||
}
|
||||
}
|
||||
.login-btn-box {
|
||||
margin-top: 32px;
|
||||
margin-: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
.input:focus + label,
|
||||
.input:not(:placeholder-shown) + label{
|
||||
top: -10px;
|
||||
left: 10px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.webbpm.ervu_lkrp_ul .form-signin .row.registration > * + *,
|
||||
.webbpm.ervu_lkrp_ul .form-signin .login-btn-box .password,
|
||||
.webbpm.ervu_lkrp_ul .form-signin .login-btn-box .btn + .btn {
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
<div class="row">
|
||||
<div class="input-group">
|
||||
<input type="text" name="username" class="form-control" placeholder="Логин" required autofocus
|
||||
[(ngModel)]="username" maxlength="100">
|
||||
<input type="text" name="username" class="form-control" placeholder=" " required autofocus [(ngModel)]="username" maxlength="100">
|
||||
<label>Логин</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue