-
Notifications
You must be signed in to change notification settings - Fork 0
/
TEST.css
86 lines (73 loc) · 1.1 KB
/
TEST.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
body{
background:url(step0002.jpg);
background-size: cover;
background-position: center;
position: absolute;
max-width: 100%;
height: auto;
}
h1{
color: red;
}
h4{
color:black;
}
img{
width:100%;
height:75%;
border: black solid 5px;
}
p{
font-family:Muli;
font-size:17px;
color:black;
}
h3{
color:#bb38a4;
font-size: 30;
}
.sph{
color:blue;
font-size: 22;
font-family: "Georgia", monospace;
}
.hover{
display: flex;
}
.container {
position: relative;
width: 100%;
}
.image {
display: block;
width: 90%;
height: 350px;
}
.overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background-color: #000000c4;
overflow: hidden;
width: 92%;
height: 0;
transition: .5s ease;
}
.container:hover .overlay {
height: 100%;
}
.text {
white-space: nowrap;
color: #64b5f6;
font-size: 26px;
position: absolute;
overflow: hidden;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
}
.hover{
display: flex;
}