-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
73 lines (68 loc) · 1.14 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
body
{
-webkit-transform: perspective(900px);
-webkit-transform-style: preserve-3d;
background-color: #111;
color: #FFF;
font-family: "Helvetica Neue";
padding: 20px;
}
h1,h4
{
font-weight: normal;
}
.album
{
transform: rotateY(25deg);
transition: transform 0.2s ease-out;
position: relative;
width: 380px;
height: 320px;
margin: auto;
margin-top: 50px;
margin-bottom: 50px;
background-color: #fff;
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}
.album:hover
{
transform: rotateY(-25deg);
}
.album .dimmer
{
position: absolute;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.2);
}
.album h1
{
position: absolute;
font-weight: bold;
font-size: 40px;
margin: 0;
top: 20px;
left: 20px;
font-family: Helvetica;
color: #FFF;
}
.album h3
{
position: absolute;
bottom: 20px;
right: 20px;
margin: 0;
font-family: Helvetica;
color: #FFF;
}
button
{
margin: auto;
font-size: 20px;
display: block;
padding: 10px;
outline: none;
border: none;
}