Extending User Interface with CSS3

To extend user interface, CSS comes with the resize and outline-offset properties. Following is and example −


 Live Demo

<!DOCTYPE html>
div {
   margin: 20px;
   border: 1px solid rgb(0, 26, 255);
   outline: 4px dashed rgb(90, 2, 86);
   outline-offset: 15px;
textarea {
   display: inline-block;
<h1>Extending user interface example</h1>
<h3>Resize property</h3>
<textarea style="resize: none;">Textarea : Not resizable</textarea>
<textarea>Textarea - Resizable (By default)</textarea>
<h3>Outline property</h3>
<div>Some text inside div</div>


The above code will produce the following output −