-
Notifications
You must be signed in to change notification settings - Fork 0
/
middle.css
79 lines (72 loc) · 1.63 KB
/
middle.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
*{
margin: 0;
padding: 0;
color: #f2f5f7;
font-family: sans-serif;
letter-spacing: 1px;
font-weight: 300;
}
body{
overflow-x: hidden;
animation: fadeIn 1s ease-in-out forwards;
opacity: 0;
}
@keyframes fadeIn {
to {
opacity: 1;
}
}
.row{
transform: translateX(26%);
margin-top: 70px;
}
.container {
position: relative;
width: 100%;
max-width: 300px;
-moz-box-shadow: 0 0 20px 20px #888;
-webkit-box-shadow: 0 0 20px 20px#888;
box-shadow: 0 0 8px 8px #888;
overflow-x:auto;
}
.image {
display: block;
width: 100%;
height: auto;
}
.overlay {
position: absolute;
bottom: 0;
background: rgb(0, 0, 0);
background: rgba(0, 0, 0, 0.5);
color: #f1f1f1;
width: 86.7%;
transition: .5s ease;
opacity:0;
color: white;
font-size: 1.5vw;
padding: 20px;
text-align: center;
}
.container:hover .overlay {
opacity: 1;
}
.column {
float: left;
width: 22%;
padding: 5px;
margin: 100px 22px;
}
.row::after {
content: "";
clear: both;
display: table;
align-items: center;
}
.vertical-row {
Float:left;
transform: translateX(-750%);
height:550px;
width:2.6px;
background-color: black;
}