Is it possible to make text-overflow:ellipsis for select with css only?
Is it possible to make text-overflow: ellipsis; for select ? In the div it is simple. When the string is too long there are dots, I need the same in select . I know, that it is possible with js , but I would like to get "light" css decision: .select { box-sizing: border-box; display: block; width: 200px; height: 34.5px; padding: 5px 22px 3px 11px; font: 400 16px/24px sans-serif; color: #464a4c; vertical-align: middle; background: #fff url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiID8