-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphone-v2.html
More file actions
123 lines (120 loc) · 2.61 KB
/
phone-v2.html
File metadata and controls
123 lines (120 loc) · 2.61 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<style>
body{
background-color: lightseagreen;
}
.container1{
position:relative;
top:10%;
left:38%;
width:24%;
height:80%;
background-color: white;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 10px;
z-index: 10;
}
.container2{
position:relative;
top:10%;
left:38%;
width:24%;
height:80%;
background-color: white;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 10px;
z-index: 10;
}
.upper{
position:relative;
width:100%;
height:10%;
background-color: white;
border-bottom: 2px solid lightblue;
border-radius: 10px 10px 0px 0px;
}
.text{
position:relative;
width:100%;
height:15%;
background-color: lightcyan;
border-bottom: 2px solid lightblue;
}
.numpad{
position:relative;
width:100%;
height:50%;
background-color: white;
}
.call{
position:relative;
width:100%;
height:10%;
background-color: blueviolet;
}
.call2{
position:relative;
width:100%;
height:10%;
background-color: red;
}
.switcher1{
position:absolute;
top:15%;
left:62%;
width:3%;
height:8%;
background-color: dodgerblue;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 0px 10px 10px 0px;
}
.switcher2{
position:absolute;
top:25%;
left:62%;
width:3%;
height:8%;
background-color: dodgerblue;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 0px 10px 10px 0px;
}
.not{
display: none;
}
</style>
<script>
$(document).ready(function () {
$(".container2").hide();
$(".container2").removeClass("not");
$('.switcher1').click(function (e) {
$('.container1').slideDown(1500);
$('.container2').hide();
});
$('.switcher2').click(function (e) {
$('.container1').hide();
$('.container2').slideDown("slow");
});
});
</script>
</head>
<body>
<div class="container1">
<div class="upper"></div>
<div class="text"></div>
<div class="numpad"></div>
<div class="call"></div>
<div class="info"></div>
</div>
<div class="container2 not">
<div class="upper"></div>
<div class="text"></div>
<div class="numpad"></div>
<div class="call2"></div>
<div class="info"></div>
</div>
<div class="switcher1"></div>
<div class="switcher2"></div>
</body>
</html