Clarity Posted March 16, 2022 Share Posted March 16, 2022 Hello everyone! I have a text in Textarea and need to underline the first line of it (append class="u-bottom-underline"). By the line I mean the part of Textarea before the first "\n". I've checked the topic: But it's not quite what I need. Thank you in advance! Link to comment Share on other sites More sharing options...
3fingers Posted March 16, 2022 Share Posted March 16, 2022 I think the best approach would be to use css ::first-line pseudo selector for that. 3 1 Link to comment Share on other sites More sharing options...
Recommended Posts