Skip to content

Commit d0660cb

Browse files
fixed filter dropdown styling
1 parent c3eff10 commit d0660cb

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

index.html

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,19 @@
3434
color: red;
3535
font-size: 18px;
3636
}
37+
38+
#filter-books {
39+
border-radius : 45px;
40+
border : none;
41+
outline : none;
42+
height : 38px;
43+
padding : 0 5px;
44+
}
45+
46+
#filter-books:focus{
47+
outline : 3px solid rgb(46, 123, 255);
48+
}
49+
3750
</style>
3851

3952
</head>
@@ -54,8 +67,8 @@
5467

5568
</ul>
5669
<form class="form-inline my-2 my-lg-0">
57-
<select name="filter" id="filter-books" class="btn btn-light mr-sm-2">
58-
<option value="all" selected>All</option>
70+
<select name="filter" id="filter-books" class="form-select mr-sm-2">
71+
<option value="all" selected >All</option>
5972
<option value="book">Name</option>
6073
<option value="bookauthor">Author</option>
6174
<option value="bookType">Type</option>

0 commit comments

Comments
 (0)