-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathday-4.css
92 lines (85 loc) · 1.78 KB
/
day-4.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
.device {
background: #000;
border-radius: 3rem;
box-shadow: 0 4px 15px rgba(0,0,0,.6);
border: 1px solid rgba(48,48,47,.5);
height: 340px;
margin-left: -80%;
position: absolute;
top: 20px;
left: 80%;
padding: 3px;
width: 180px;
transform: rotateY(40deg);
transition: margin 1s ease-in, transform 2s ease-in;
}
.device:before {
background: #333;
border-radius: 3rem;
box-shadow: 0 1px 9px rgba(0,0,0,.6);
content: '';
display: block;
height: 100%;
position: absolute;
top: 0;
left: 0;
width: 100%;
}
.device:after {
background: linear-gradient(45deg,rgba(255,255,255,0) 60%,rgba(255,255,255,.5) 100%);
border-radius: 3rem;
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
}
.screen {
background: radial-gradient(ellipse at center,rgba(0,0,0,.65) 0,rgba(0,0,0,0) 100%);
background-color: #000;
border-radius: 3rem;
border: 3px solid #000;
height: 100%;
position: relative;
}
.speaker {
background: #000;
border-radius: 7px;
box-shadow: 0 1px 0 rgba(255,255,255,.125);
height: 0.6rem;
position: absolute;
top: 25px;
left: 65px;
width: 2.7rem;
z-index: 2;
}
.content { background: url(http://placehold.it/154x232/ffcc00); height: 232px; position: absolute; top: 45px; left: 6px; width: 154px; }
.button {
background: #333;
border-radius: 0 0 7px 7px;
box-shadow: 0 1px 0 rgba(255,255,255,.125);
height: 0.6em;
margin-left: 0;
position: absolute;
bottom: 17px;
left: 65px;
width: 3rem;
z-index:2;
}
.button:after {
background: #797e80;
border: 0;
border-radius: 0 0 0.4rem 0.4rem;
box-shadow: inset 0 2px 4px #000;
content: '';
display: block;
height: 0.5rem;
margin: 0 auto;
position: relative;
top: 0;
left: 0;
overflow: hidden;
width: 2.7rem;
}