-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy patha2.css
45 lines (44 loc) · 916 Bytes
/
a2.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
html {
box-sizing: border-box;
font-size: 10px;
background:#ffc600;
}
*, *:before, *:after {
box-sizing: inherit;
}
.photobooth{
background:white;
max-width:150rem;
margin: 2rem auto;
border-radius:2px;
}
.photobooth:after{
content: '';
display: block;
clear: both;
}
.photo{
width: 100%;
float: left;
}
.player{
position: absolute;
top: 20px;
right: 20px;
width:200px;
}
.strip {
padding:2rem;
}
.strip img {
width:100px;
overflow-x: scroll;
padding:0.8rem 0.8rem 2.5rem 0.8rem;
box-shadow:0 0 3px rgba(0,0,0,0.2);
background:white;
}
.strip a:nth-child(5n+1) img { transform: rotate(10deg); }
.strip a:nth-child(5n+2) img { transform: rotate(-2deg); }
.strip a:nth-child(5n+3) img { transform: rotate(8deg); }
.strip a:nth-child(5n+4) img { transform: rotate(-11deg); }
.strip a:nth-child(5n+5) img { transform: rotate(12deg); }