Skip to content

Commit b31ed5b

Browse files
fixed filter dropdown styling
1 parent 4cbe93d commit b31ed5b

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
@@ -54,6 +54,19 @@
5454
color: red;
5555
font-size: 18px;
5656
}
57+
58+
#filter-books {
59+
border-radius : 45px;
60+
border : none;
61+
outline : none;
62+
height : 38px;
63+
padding : 0 5px;
64+
}
65+
66+
#filter-books:focus{
67+
outline : 3px solid rgb(46, 123, 255);
68+
}
69+
5770
</style>
5871

5972
</head>
@@ -74,8 +87,8 @@
7487

7588
</ul>
7689
<form class="form-inline my-2 my-lg-0">
77-
<select name="filter" id="filter-books" class="btn btn-light mr-sm-2">
78-
<option value="all" selected>All</option>
90+
<select name="filter" id="filter-books" class="form-select mr-sm-2">
91+
<option value="all" selected >All</option>
7992
<option value="book">Name</option>
8093
<option value="bookauthor">Author</option>
8194
<option value="bookType">Type</option>

0 commit comments

Comments
 (0)