-
-
Notifications
You must be signed in to change notification settings - Fork 372
Expand file tree
/
Copy pathshapes,#430_Hari.html
More file actions
118 lines (107 loc) · 2.61 KB
/
shapes,#430_Hari.html
File metadata and controls
118 lines (107 loc) · 2.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<div class="container">
<div class="inner-container">
<div class="blue"></div>
<div class="light-blue"></div>
<!-- <div class="circle-image">
<img src="./images_and_icons/explorer.jpg" class="random-image">
</div> -->
<div class="text-container">
<h2 class="title">Discover Personalized Outdoor Excursions Tailored for You</h2>
<p class="text">
Plan your unique journey
</p>
<span class="book-now-btn">RESERVE TODAY</span>
</div>
</div>
</div>
<style>
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
flex-direction: column;
position: relative;
flex-wrap: wrap;
}
.inner-container {
position: relative;
width: 480px;
height: 350px;
background-color: #eceff1;
}
.blue {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 50%;
background-color: #5c6bc0;
}
.light-blue {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 45%;
background-color: #42a5f5;
}
.circle-image {
position: absolute;
width: 255px;
height: 255px;
border-radius: 50%;
overflow: hidden;
top: 50%;
right: 40%;
transform: translate(72%,-65%);
display: flex;
z-index: 1;
}
.circle-image img {
width: 100%;
height: auto;
}
.text-container {
position: absolute;
border-radius: 30px;
width: 50%;
height:45%;
right: 53%;
top: 65%;
transform: translate(20%, -40%);
background-color: #ffffff;
padding: 0.5em;
z-index: 2;
}
.text-container h2 {
color: #000000;
margin-left: 20px;
font-size: 1.15em;
font-family: Arial;
font-weight: lighter;
margin-top: 15px;
}
.text-container p {
color: #000000;
margin-left: 20px;
font-size: 0.5em;
font-family: Arial;
font-weight: lighter;
}
.book-now-btn {
text-decoration: none;
background-color: #42a5f5;
color: white;
padding: 5px 20px;
border-radius: 20px;
display: inline-block;
font-family: Arial;
font-weight: lighter;
transform: scale(1.25,1.25);
margin-left: 27px;
font-size: 0.5em;
margin-top: 5px;
margin-bottom: 10px;
}
</style>