-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.css
57 lines (49 loc) · 967 Bytes
/
blog.css
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
.blog-btn {
margin: 4rem 0;
font-size: 2rem;
}
.blog-btn a{
color: white;
font-weight: bold;
background-color: var(--main-bg-color);
padding: 2rem 4rem;
margin: 2rem 0;
border-radius: .5rem;
}
.blog-btn a:hover{
background-color: gray;
}
.blog-box{
display: grid;
grid-template-columns: repeat(auto-fit, 38rem);
justify-content: center;
}
.blog-content{
font-size: 2rem;
border: 2px solid gray;
padding: 2rem;
display: inline-block;
margin: 2rem;
width: 33rem;
}
/* .blog-content:hover{
background: url('../img/blog-img-01.jpg');
z-index: -4;
} */
.blog-content >a{
cursor: pointer;
color: var(--main-bg-color);
}
.blog-content p{
color: gray
;
font-size: 1.6rem;
}
.blog-content >a:hover{
color: black;
}
.change{
height: 42rem;
opacity: 1;
display: block;
}