generated from raja21068/yoga
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhealthy-life-tips.html
160 lines (145 loc) · 4.84 KB
/
healthy-life-tips.html
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Healthy Lifestyle Tips</title>
<style>
/* Basic Styling */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f0f8ff;
margin: 0;
padding: 20px;
text-align: center;
}
h1 {
color: #2f4f4f;
font-size: 36px;
margin-bottom: 20px;
}
.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
.image-section {
width: 300px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
border-radius: 10px;
transition: transform 0.3s ease, background-color 0.3s ease;
background-color: #e6f7ff;
}
.image-section:hover {
transform: translateY(-5px);
background-color: #cceeff;
}
.image-section img {
width: 100%;
height: auto;
border-radius: 10px 10px 0 0;
}
.description {
font-size: 16px;
margin: 10px 0;
padding: 0 15px;
color: #333;
}
/* Colorful backgrounds for variety */
.image-section:nth-child(1) {
background-color: #ffeb99;
}
.image-section:nth-child(2) {
background-color: #ffd1dc;
}
.image-section:nth-child(3) {
background-color: #d1ffd6;
}
.image-section:nth-child(4) {
background-color: #ffe6b3;
}
.image-section:nth-child(5) {
background-color: #e6f2ff;
}
.image-section:nth-child(6) {
background-color: #ffd1a3;
}
.image-section:nth-child(7) {
background-color: #ffdab3;
}
.image-section:nth-child(8) {
background-color: #d6e0ff;
}
.image-section:nth-child(9) {
background-color: #ffcccb;
}
/* Responsive Styling */
@media (max-width: 768px) {
.image-section {
width: 45%;
}
}
@media (max-width: 600px) {
.image-section {
width: 90%;
}
}
@media (max-width: 400px) {
.description {
font-size: 14px;
}
}
/* Footer styling */
footer {
margin-top: 50px;
font-size: 14px;
color: #888;
}
</style>
</head>
<body>
<h1>Healthy Lifestyle Tips</h1>
<div class="container">
<div class="image-section">
<img src="images-e/win.jpg" alt="Three Daily Wins">
<p class="description">Get three daily wins: physical, mental, and spiritual.</p>
</div>
<div class="image-section">
<img src="images-e/888.jpg" alt="8+8+8 Rule">
<p class="description">Follow the 8+8+8 rule for a balanced day.</p>
</div>
<div class="image-section">
<img src="images-e/mentaly-up.jpg" alt="Mentally Glow Up">
<p class="description">Steps to mentally glow up in one month.</p>
</div>
<div class="image-section">
<img src="images-e/healthy-mind.jpg" alt="Healthy Mind">
<p class="description">Keep a healthy mind by practicing mindful habits.</p>
</div>
<div class="image-section">
<img src="images-e/improve -mood.jpg" alt="Improve Mood">
<p class="description">Simple actions to boost your mood.</p>
</div>
<div class="image-section">
<img src="images-e/replace-habit.jpg" alt="Replace Habit">
<p class="description">Replace negative habits with positive ones for a better lifestyle.</p>
</div>
<div class="image-section">
<img src="images-e/start.jpg" alt="Finish What You Start">
<p class="description">Tips on how to finish everything you start.</p>
</div>
<div class="image-section">
<img src="images-e/1percent.jpg" alt="Top 1% Man">
<p class="description">Become a top 1% man by 2024 with these habits.</p>
</div>
<div class="image-section">
<img src="images-e/pillars.jpg" alt="Four Pillars of Life">
<p class="description">Four pillars of life to maintain balance and success.</p>
</div>
</div>
<footer>
© 2024 Healthy Lifestyle Tips. All Rights Reserved.
</footer>
</body>
</html>