1
I have a textarea
which 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 wish that when mine textarea
had the attribute rows
(that would affect the size of the textarea
), the size defined in min-height
be applied.
How to do this?