1

I have this example. I need to unite selected text in select and arrow and put it in the center. How can i do this? I want that any selected text always will be in the center with arrow. Maybe i can use something insted select? I need dropdown menu like this: http://prnt.sc/c8iorl Maybe select isn't what i need for this type menu?

.filter-col {
  display: inline-block;
  margin: 0 15px;
  border: 1px solid black;
}
.filter-col select {
  width: 100%;
  padding: 0 15px 0 0;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: '';
  -ms-appearance: none;
  appearance: none!important;
  background-image: url(http://foodservice.freelancerblog.ru/images/i/sort-bottom-arrow.png);
  background-position: right center;
  background-repeat: no-repeat;
  color: #8d8d8d;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  text-align: right;
}
<div class="filter-col">
  <select name="" id="">
    <option value="">Text</option>
    <option value="">Text11</option>
    <option value="">Text2222</option>
    <option value="">Text3333333333</option>
  </select>
</div>
user2516034
  • 155
  • 3
  • 3
  • 8

0 Answers0