<textarea cols="30" rows="10" class="textarea-primary"></textarea>
.textarea-primary {
display: inline-block;
vertical-align: top;
width: 100%;
max-height: 170px;
padding: 8px;
box-sizing: border-box;
border-radius: 5px;
border: 1px solid #e5e5e5;
font-size: 14px;
outline: none;
line-height: 1.6;
resize: vertical;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.