problem description
solve, the width in the textarea tag exceeds two lines of hidden display ellipsis, how can the width of option text in the select tag exceed the hidden display ellipsis? And how to set the ellipsis when the text in these form tags exceeds the hidden display ellipsis in input?
style textarea tags:
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
and styling select and option tags:
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
has no effect. I would like to ask all of you to help me with the answer.
the environmental background of the problems and what methods you have tried