<!DOCTYPE html> <meta charset="utf-8"> <title>Reference: Compute kind of widget - fallback - textarea</title> <style> #container { width: 500px; } textarea { appearance: none; } </style> <div id="container"> <textarea>textarea</textarea> </div>