-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
97 lines (83 loc) · 2.14 KB
/
styles.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
body {
display: flex;
justify-content: space-around;
align-items: center;
height: 100vh;
flex-wrap: wrap;
}
.card {
width: 300px;
height: 390px;
background: black;
border-radius: 10px;
color: white;
font-family: arial, sans-serif;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 70px 63px -60px black;
margin-bottom: 100px;
transition: all .8s;
}
.border {
height: 369px;
width: 280px;
border-radius: 10px;
position: relative;
}
.border:hover {
border: 1px solid white;
}
.card0 {
background: url('https://i.pinimg.com/736x/8f/a0/51/8fa051251f5ac2d0b756027089fbffde--terry-oneill-al-pacino.jpg') center center no-repeat;
background-size: 300px;
filter: brightness(0.5) saturate(0) contrast(1.2);
}
.card0:hover {
background: url('https://i.pinimg.com/736x/8f/a0/51/8fa051251f5ac2d0b756027089fbffde--terry-oneill-al-pacino.jpg') left center no-repeat;
background-size: 600px;
}
.card1 {
background: url('https://i.pinimg.com/originals/28/d2/e6/28d2e684e7859a0dd17fbd0cea00f8a9.jpg') center center no-repeat;
background-size: 300px;
filter: brightness(0.5) saturate(0) contrast(1.2);
}
.card1:hover {
background: url('https://i.pinimg.com/originals/28/d2/e6/28d2e684e7859a0dd17fbd0cea00f8a9.jpg') left center no-repeat;
background-size: 600px;
}
.card2 {
background: url('https://i.pinimg.com/originals/ee/85/08/ee850842e68cfcf6e3943c048f45c6d1.jpg') center center no-repeat;
background-size: 300px;
filter: brightness(0.5) saturate(0) contrast(1.2);
}
.card2:hover {
background: url('https://i.pinimg.com/originals/ee/85/08/ee850842e68cfcf6e3943c048f45c6d1.jpg') left center no-repeat;
background-size: 600px;
}
.icons {
position: absolute;
display: flex;
flex-direction: column;
height: 130px;
width: 50px;
justify-content: space-around;
align-items: center;
top: 226px;
}
a {
color: white;
}
.card h2 {
margin: 20px;
opacity: 0;
transition: all 1s;
}
.fab {
opacity: 0;
transition: all 2s;
}
.card:hover h2,
.card:hover .fab {
opacity: 1;
}