.sey-list { display: none; position: absolute; padding: 0; margin: 0; list-style-type: none; box-shadow: 1px 2px 6px; background-color: #fff; color: #69d1ff; transition: left 0.1s ease-in-out; } .sey-show { display: block; } .sey-hide { display: none; } .sey-item { cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 7px; } .sey-item:hover { background-color: #69d1ff; color: #fff; } .sey-selected { background-color: #69d1ff; color: #fff; }