.dropdown-container { position:relative; input { width: 100%; } .dropdown-options { position:absolute; background-color: rgb(227, 227, 227); z-index: 100; width: 100%; border: 1px solid gray; overflow-y: scroll; max-height: 200px; .item { position:relative; font-size: 14px; font-family: OpenSans; padding: 5px; cursor: default; margin: 0 3px; border-bottom: 1px solid darkgray; &:hover { filter: brightness(120%); background-color: rgb(163, 163, 163); } .detail { width:100%; text-align: right; color: rgb(124, 124, 124); font-style:italic; font-size: 12px; } } } }