-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfilteredDropdown.css
56 lines (51 loc) · 993 Bytes
/
filteredDropdown.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
.dropdown-container {
position: relative;
width: 200px;
}
#dropdownInput {
width: 100%;
padding: 10px;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 5px;
}
.dropdown-menu {
list-style-type: none;
padding: 0;
margin: 0;
display: none;
border: 1px solid #ccc;
border-radius: 5px;
background-color: white;
max-height: 200px;
overflow-y: auto;
position: absolute;
width: 100%;
z-index: 1000;
max-height: 200px;
overflow-y: auto;
}
.dropdown-menu li {
padding: 10px;
cursor: pointer;
background-color: grey;
color: black;
border-bottom: 1px solid #ddd;
}
.dropdown-menu li:hover {
background-color: lightgrey;
}
.remove-btn {
background-color: red;
color: white;
border: none;
border-radius: 50%;
width: 20px;
height: 20px;
font-size: 14px;
line-height: 18px;
position: relative;
right: 5px;
top: 5px;
cursor: pointer;
}