one line only
<textarea name="text" oninput="this.style.height = "";this.style.height = this.scrollHeight + "px""></textarea>
More Related Contents:
- Trouble with image
- What are the steps to make a HTML design responsive? [closed]
- Fill the remaining height or width in a flex container
- float:left; vs display:inline; vs display:inline-block; vs display:table-cell;
- Why are my CSS3 media queries not working on mobile devices?
- How does the “position: sticky;” property work?
- A Space between Inline-Block List Items [duplicate]
- CSS vertical alignment of inline/inline-block elements
- How to remove the space between inline/inline-block elements?
- Colspan/Rowspan for elements whose display is set to table-cell
- How do I install a custom font on an HTML site
- What’s a 3D doing in this HTML?
- Setting table column width
- How to change the color of Element depending on its height or width?
- Inline style to act as :hover in CSS
- How to make a sticky footer using flexbox in IE11?
- What can be other ways than @media to make a website responsive suitably if I don’t mention target resolution? [closed]
- Removing space at the top left and right of div
- Prevent scroll-bar from adding-up to the Width of page on Chrome
- Can I change the color of Font Awesome’s cog icon?
- Css hover sometimes doesn’t work on svg paths
- Unwanted border-radius corners around images in Brave/Chrome browser
- Progress Bar with HTML and CSS
- scrollable?
- Bootstrap 3 – show collapsed navigation for all screen sizes
- How can I prefix ordered list item numbers with a static string using CSS?
- How to get rid of x and up/down arrow elements of a input date?
- HTML CSS Invisible Button
- CSS After Element to insert mailto link?
- Which browsers support data URIs and since which version?