I would like to have assistance in understand and implementing auto-expanding textareas, the way it's done on the Blades in the Dark character sheet for example. When you leave focus of the field, it transitions to a fixed size that accommodates the content. It seems to be doing this by replacing it with a <div>, but I'm not sure how it is still a <textarea> at the same time when you focus on it to enter text. I see no script that does this, so it's apparently done through pure CSS.