-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoverflow-style.html
100 lines (99 loc) · 2.25 KB
/
overflow-style.html
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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<STYLE>
.nearbySearchContainer {
position: fixed;
top: 6em;
right: 1.5em;
}
.parents {
width: 22.25em;
z-index: 1001;
overflow: auto;
max-height: 45em;
}
.popupcontent{
overflow: hidden;
-webkit-overflow-scrolling: touch;
border: none;
background-color: #ffffff;
max-height: 40.25em;
}
.popuptitle {
width: 100%;
height: 3.5em;
background: rgba(6, 6, 6, 0.7);
border-top-left-radius: 1.25em;
border-top-right-radius: 1.25em;
}
.popupcontent:hover {
overflow-y: auto;
}
.popupfooter {
width: 100%;
height: 1.25em;
background: rgba(6, 6, 6, 0.7);
border-bottom-left-radius: 1.25em;
border-bottom-right-radius: 1.25em;
}
</STYLE>
</head>
<body>
<div class="nearbySearchContainer">
<div class="parents">
<div class="popuptitle">
Search result
</div>
<div class="popupcontent">
<div>
<h1>test 1</h1>
</div>
<div>
<h1>test 2</h1>
</div>
<div>
<h1>test 3</h1>
</div>
<div>
<h1>test 4</h1>
</div>
<div>
<h1>test 5</h1>
</div>
<div>
<h1>test 6</h1>
</div>
<div>
<h1>test 7</h1>
</div>
<div>
<h1>test 8</h1>
</div>
<div>
<h1>test 9</h1>
</div>
<div>
<h1>test 0</h1>
</div>
<div>
<h1>test 1</h1>
</div>
<div>
<h1>test 2</h1>
</div>
<div>
<h1>test 3</h1>
</div>
<div>
<h1>test 4</h1>
</div>
</div>
<div class="popupfooter">
Search result
</div>
</div> </div>
</body>
</html>