.element { overflow: hidden; /* anything but "visible" */ resize: both; /* none, horizontal, vertical */ }