xxxxxxxxxx
1
<!-- Material form login -->
2
<div class="card col-md-8" id="loginCard">
3
4
<h5 class="card-header col-15 info-color white-text text-center py-4">
5
<strong>Sign in</strong>
6
</h5>
7
8
<!--Card content-->
9
<div class="card-body px-lg-5 pt-0">
10
11
<!-- Form -->
12
<form class="text-center" style="color: #757575;" action="#!">
13
14
<!-- Username -->
15
<div class="md-form ">
16
<input type="text" id="userInput" class="form-control border rounded-1" placeholder="Username" >
17
18
19
</div>
20
21
<!-- Password -->
22
<div class="md-form">
23
<input type="password" id="passwordInput" class="form-control border rounded-1" placeholder="Password">
24
</div>
25
26
<div class="d-flex justify-content-around">
27
<div>
28
<!-- Remember me -->
29
<div class="form-check">
30
<input type="checkbox" class="form-check-input" id="materialLoginFormRemember">
31
<label class="form-check-label" for="materialLoginFormRemember">Remember me</label>
32
</div>
33
</div>
34
35
</div>
36
37
<!-- Sign in button -->
38
<button type="button" class="btn btn-primary">Primary</button>
39
<!-- Register -->
40
41
<!-- Social login -->
42
43
</form>
44
<!-- Form -->
45
46
</div>
47
48
</div>
49
<!-- Material form login -->
50
xxxxxxxxxx
1
.card{
2
3
border-radius: 1rem;
4
width: 100%;
5
}
6
7
.card-header{
8
border-top-left-radius: 0.5rem;
9
border-top-right-radius: 0.5rem;
10
}
11
12
#userInput {
13
border-color: #757575;
14
border-radius: 1.5rem;
15
}
16
17
#passwordInput{
18
border-color: #757575;
19
border-radius: 1.5rem;
20
}
21
22
input::placeholder {
23
24
/* Firefox, Chrome, Opera */
25
padding-left: 15px;
26
}
27
28
xxxxxxxxxx
1
import { Component } from '@angular/core';
2
3
@Component({
4
selector: 'app-root',
5
templateUrl: './app.component.html',
6
styleUrls: ['./app.component.scss']
7
})
8
export class AppComponent {
9
title = 'app';
10
}
11
Console errors: 0