-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
95 lines (85 loc) · 1.54 KB
/
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
* {
scroll-behavior: smooth;
}
.datepicker {
width: auto;
height: auto;
padding: 5px;
margin: 5px;
background-color: #fff;
color: #000;
cursor: auto;
}
.container {
position: relative;
padding: 0;
width: 100%;
display: block;
cursor: pointer;
overflow: hidden;
}
.content {
opacity: 0;
font-size: 25px;
position: absolute;
border-radius: 12px;
top: 0;
left: 0;
color: #000;
padding: 40px;
background-color: rgba(255, 255, 255, 0.5);
width: 100%;
height: 100%;
transition: all 500ms ease-out;
text-align: center;
}
.container .content:hover {
opacity: 1;
}
.text {
font-family: fantasy;
}
.container .content .text {
height: 0;
opacity: 1;
transition-delay: 0s;
transition-duration: 0.4s;
}
.container .content:hover .text {
opacity: 1;
transform: translateY(150px);
-webkit-transform: translateY(150px);
}
@media screen and (min-width: 500px) {
.content {
font-size: 17px;
padding: 10px;
}
.container .content:hover .text {
opacity: 1;
transform: translateY(30px);
-webkit-transform: translateY(30px);
}
}
@media screen and (min-width: 768px) {
.content {
font-size: 17px;
padding: 20px;
}
.container .content:hover .text {
opacity: 1;
transform: translateY(100px);
-webkit-transform: translateY(100px);
}
}
@media screen and (min-width: 1024px) {
.content {
font-size: 25px;
padding: 40px;
}
.container .content:hover .text {
opacity: 1;
transform: translateY(100px);
-webkit-transform: translateY(100px);
}
}