Skip to content

Instantly share code, notes, and snippets.

@ThaddeusJiang
Created June 13, 2024 07:44
Show Gist options
  • Save ThaddeusJiang/19d28f4fe4b74eb7578df8864ff534e2 to your computer and use it in GitHub Desktop.
Save ThaddeusJiang/19d28f4fe4b74eb7578df8864ff534e2 to your computer and use it in GitHub Desktop.
Textarea with auto-sizing
<textarea>
Textarea with auto-sizing
</textarea>
textarea {
field-sizing: content;
min-height: 3lh;
width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment