-
Notifications
You must be signed in to change notification settings - Fork 0
/
blogs.html
140 lines (120 loc) · 3.5 KB
/
blogs.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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blogs</title>
<link rel="icon" href="images/logo.png">
<style>
* {
background-color: rgb(236, 225, 225);
}
.blog {
margin: 4%;
width: 86%;
text-align: center;
margin-top: 30px;
}
.blog h2 {
font-size: 45px;
font-weight: 600;
text-align: center;
color: #920753;
}
.blog p {
color: #fff;
font-size: 14px;
font-weight: 300;
line-height: 22px;
padding: 10px;
}
.row {
margin-top: 3%;
display: flex;
justify-content: space-between;
float: left;
margin-left: 30px;
}
.blog-col {
flex-basis: 32%;
border-radius: 10px;
margin-bottom: 30px;
position: relative;
box-sizing: border-box;
transition: 0.5s;
overflow: hidden;
}
h3 {
font-size: 30px;
font-weight: 600;
text-align: center;
margin: 10px 0;
text-shadow: 0 0 3px #FF0000;
}
.blog-col:hover {
box-shadow: 0 0 20px 0px rgba(196, 6, 6, 0.699);
}
.blog-col p img {
width: 350px;
height: 250px;
object-fit: cover;
justify-content: space-between;
padding: 30px;
margin-left: auto;
margin-right: auto;
}
</style>
</head>
<body>
<section class="blog" id="blog-section">
<h2> BLOGS
</h2>
<div class="row ">
<div class="blog-col ">
<h3> 1.Breathe: There are ways to calm your anxiety
</h3>
<p>
<a href="one.html"><img src="images/blogimg/one.jpg "></a>
</p>
</div>
<div class="blog-col ">
<h3> 2.Keep It Simple, Stop Overthinking.
</h3>
<p>
<a href="two.html"><img src="images/blogimg/two.jpg "></a>
</p>
</div>
<div class="blog-col ">
<h3> 3.When there’s been a breach<br> of trust
</h3>
<p>
<a href="three.html"><img src="images/blogimg/three.jpg "></a>
</p>
</div>
</div>
<div class="row ">
<div class="blog-col ">
<h3>4.How to Motivate Yourself
</h3>
<p>
<a href="four.html"><img src="images/blogimg/four.jpg "></a>
</p>
</div>
<div class="blog-col ">
<h3> 5.Coping with Grief and Loss
</h3>
<p>
<a href="five.html"><img src="images/blogimg/five.jpg "></a>
</p>
</div>
<div class="blog-col ">
<h3>6.Surviving Tough Times
</h3>
<p>
<a href="six.html"><img src="images/blogimg/six.jpg "></a>
</p>
</div>
</div>
</section>
</body>
</html>