4,114
edits
No edit summary |
No edit summary |
||
Line 157: | Line 157: | ||
} | } | ||
#searchInput { | #searchInput, | ||
.closing-bracket { | |||
display: none; /* Initially hide the search input and closing bracket */ | |||
border: none; | border: none; | ||
} | } | ||
#simpleSearch:hover #searchInput { | #simpleSearch:hover #searchInput, | ||
display: inline; /* Display the search input when #simpleSearch is hovered */ | #simpleSearch:hover .closing-bracket { | ||
display: inline; /* Display the search input and closing bracket when #simpleSearch is hovered */ | |||
border-bottom: 1px solid black; | border-bottom: 1px solid black; | ||
margin-left: -10px; | margin-left: -10px; | ||
} | } |