-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
48 lines (47 loc) · 919 Bytes
/
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
@import url('https://fonts.googleapis.com/css?family=Titillium+Web');
body {
font-family: 'Titillium Web', sans-serif;
color: white;
background: linear-gradient(to left, #ffc3a0, #FFAFBD );
}
h1 {
text-transform: uppercase;
font-size: 4em;
}
img {
height: 300px;
}
.cardholder {
margin-top: 150px;
perspective: 600px;
}
.card {
width: 300px;
height: 300px;
background-color: transparent;
transform: rotateY(50deg);
box-shadow: -6px 5px 13px 2px rgba(0, 0, 0, 0.25);
transition: all 1s ease;
color: transparent;
}
.card:hover {
width: 300px;
height: 300px;
background-color: transparent;
transform: rotateY(0deg);
box-shadow: 0px 0px 36px 2px rgba(0, 0, 0, 0.25);
color: black;
}
.card:hover p {
background-color: white;
}
p.desc {
z-index:999;
position: absolute;
top: 10px;
padding: 10px;
}
p.desc:hover {
background-color: skyblue;
color: White;
}