-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
108 lines (89 loc) · 2.14 KB
/
main.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
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
*{
font-family:sans-serif;
margin: 0;
padding:0;
box-sizing: border-box;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color:rgba(243, 239, 239, 0.808);
}
.container{
display: flex;
justify-content: center;
align-items: center;
max-height: 1200px;
flex-wrap: wrap;
padding: 44px 0px;
}
.container .card{
position: relative;
width: 320px;
height: 350px;
box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.05),
inset -5px -5px 5px rgba(255, 255, 255, 0.5),
5px 5px 5px rgba(0, 0, 0, 0.05),
-5px -5px 5px rgba(255, 255, 255, 0.5);
border-radius: 15px;
margin: 30px;
}
.container .card .box{
position: absolute;
top: 10px;
left: 10px;
right: 10px;
bottom: 10px;
background: rgb(248, 248, 248);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
border-radius:10px;
display: flex;
justify-content: center;
align-items: center;
}
.container .card .box .content{
margin: 10px;
text-align: center;
}
.container .card .box .content h2{
position:absolute;
top: -10px;
right: 30px;
font-size: 8em;
color: rgba(0, 0, 0, 0.03);
transition: 0.6s;
pointer-events: none;
}
.container .card:hover .box .content h2{
color: rgba(199, 225, 247, 0.329);
}
.container .card .box .content h3{
font-size: 1.8em;
color: #777;
z-index: 1;
transition: 0.6s;
}
.container .card .box .content p{
font-size: 1rem;
font-weight: 300;
color: #777;
z-index: 1;
transition: 0.5s;
}
.container .card .box .content a{
position: relative;
display: inline-block;
padding: 8px 20px;
background: rgba(9, 33, 248, 0.527);
border-radius: 20px;
color: #fff;
text-decoration: none;
font-weight: 400;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
margin: 10px;
}
.container .card:hover .box .content a{
background: rgb(252, 46, 80);
}