HTML
xxxxxxxxxx
1
<!-- THIS ONE, THIS ONE, THIS ONE, THIS ONE! -->
2
<div id="this" class="w-100 h-100 position-absolute">
3
4
<!-- Container for demo purpose -->
5
<div class="container my-5 py-5">
6
7
<!-- Section: Design Block -->
8
<section class="mb-10 background-radial-gradient">
9
<style>
10
.background-radial-gradient {
11
background-color: hsl(218, 41%, 15%);
12
background-image: radial-gradient(
13
650px circle at 0% 0%,
14
hsl(218, 41%, 35%) 15%,
15
hsl(218, 41%, 30%) 35%,
16
hsl(218, 41%, 20%) 75%,
17
hsl(218, 41%, 19%) 80%,
18
transparent 100%
19
),
20
radial-gradient(
21
1250px circle at 100% 100%,
22
hsl(218, 41%, 45%) 15%,
23
hsl(218, 41%, 30%) 35%,
24
hsl(218, 41%, 20%) 75%,
25
hsl(218, 41%, 19%) 80%,
26
transparent 100%
27
);
28
}
29
</style>
30
31
<div class="container px-4 py-5 px-md-5 text-center text-lg-start">
32
<div class="row gx-lg-5 align-items-center my-5 my-lg-0">
33
<div class="col-lg-6 mb-5 mb-lg-0">
34
<h1
35
class="mb-5 display-3 fw-bold ls-tight"
36
style="color: hsl(218, 81%, 95%)"
37
>
38
Are you ready <br />
39
<span style="color: hsl(218, 81%, 75%)">for an adventure?</span>
40
</h1>
41
<p class="text-white lead mb-xl-0">
42
Lorem ipsum dolor sit amet consectetur adipisicing elit. Minima
43
officia consequatur adipisci tenetur repudiandae rerum quos.
44
</p>
45
</div>
46
47
48
</div>
49
</div>
50
</div>
51
</section>
52
<!-- Section: Design Block -->
53
54
</div>
55
<!-- Container for demo purpose -->
CSS
xxxxxxxxxx
1
body {
2
background-color: hsl(0, 0%, 98%)
3
}
4
5
#this {
6
background-color: red;
7
}
JS
1
1
Console errors: 0