xxxxxxxxxx
1
<section class="intro">
2
<div class="mask d-flex align-items-center h-100" style="background-color: #D6D6D6;">
3
<div class="container">
4
<div class="row justify-content-center">
5
<div class="col-12 col-md-8 col-lg-6 col-xl-5">
6
<div class="card" style="border-radius: 1rem;">
7
<div class="card-body p-5 text-center">
8
9
<div class="my-md-5 pb-5">
10
11
<h1 class="fw-bold mb-0">Welcome</h1>
12
13
<i class="fas fa-user-astronaut fa-3x my-5"></i>
14
15
<div class="form-outline mb-4">
16
<input type="email" id="typeEmail" class="form-control form-control-lg" />
17
<label class="form-label" for="typeEmail">Email</label>
18
</div>
19
20
<div class="form-outline mb-5">
21
<input type="password" id="typePassword" class="form-control form-control-lg" />
22
<label class="form-label" for="typePassword">Password</label>
23
</div>
24
25
<button class="btn btn-primary btn-lg btn-rounded gradient-custom text-body px-5" type="submit">Login</button>
26
27
</div>
28
29
<div>
30
<p class="mb-0">Don't have an account? <a href="#!" class="text-body fw-bold">Sign Up</a></p>
31
</div>
32
33
</div>
34
</div>
35
</div>
36
</div>
37
</div>
38
</div>
39
</section>
xxxxxxxxxx
1
.intro {
2
height: 100%;
3
}
4
5
@media (min-height: 300px) and (max-height: 450px) {
6
.intro {
7
height: auto;
8
}
9
}
10
11
.gradient-custom {
12
background: radial-gradient(50% 123.47% at 50% 50%, #00FF94 0%, #720059 100%), linear-gradient(121.28deg, #669600 0%, #FF0000 100%), linear-gradient(360deg, #0029FF 0%, #8FFF00 100%), radial-gradient(100% 164.72% at 100% 100%, #6100FF 0%, #00FF57 100%), radial-gradient(100% 148.07% at 0% 0%, #FFF500 0%, #51D500 100%);
13
background-blend-mode: screen, color-dodge, overlay, difference, normal;
14
}
1
1
Console errors: 0