-
Notifications
You must be signed in to change notification settings - Fork 4
/
design-style.css
77 lines (70 loc) · 1.23 KB
/
design-style.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
.banner{
height: 75vh;
background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),url(source/design-background.jpg);
}
.content{
top: 40%;
}
.m1{
padding: 50px;
}
.t1{
width: 100%;
text-align: center;
}
.t1 p{
font-size: 27px;
}
.d1{
margin: 50px 0 0 0;
display: flex;
justify-content: space-evenly;
}
.d1 div{
width: 600px;
border-radius: 10px;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.3);
cursor: pointer;
overflow: hidden;
flex-wrap: wrap;
}
.d1 div img{
display: block;
width: inherit;
transition: .5s;
}
.d1 div:hover img{
transform: scale(1.05);
}
.d1 div h2{
margin: 10px 0 10px 0;
text-align: center;
font-size: 35px;
}
.d2{
margin: 50px 0 0 0;
display: flex;
justify-content: space-evenly;
}
.d2 div{
width: 500px;
border-radius: 10px;
overflow: hidden;
flex-wrap: wrap;
text-align: center;
}
.d2 div img{
display: block;
width: inherit;
}
.d2 div h2{
margin: 70px 0 10px 0;
font-size: 40px;
}
.d2 div p{
margin: 10px 0 10px 0;
font-size: 25px;
}
.d2 div a{
text-decoration: none;
}