I have a textarea
that is formatted with the following rule:
.wm-form textarea{
min-height:100px;
resize: vertical;
width:100%;
border-radius:4px;
border:1px solid #ccc;
}
<form class="wm-form">
<textarea></textarea>
</form>
But I would like that when my textarea
has the rows
attribute (which would affect the textarea
size), the size set to min-height
is applied.
How to do this?