0
I have a doubt in which I am already battling for some time, I wanted to add more spacing between lines of the textarea .
Here is a current image of my text area that I want to add line spacing.
.notes {
width: 77%;
background-attachment: local;
background-image: linear-gradient(to right, white 10px, transparent 10px), linear-gradient(to left, white 10px, transparent 10px), repeating-linear-gradient(white, white 31px, black 31px, black 33px, black 32px);
line-height: 31px;
padding: 8px 10px;
border: none;
margin-left: -9px;
margin-right: 0px;
outline: none;
}
<textarea rows="4" class="notes" id="mensagem" name="mensagem" ></textarea>
<label style="position: absolute; margin-top: -10px; margin-left: -20px;" class="valign-top">Mensagem</label>
It is not enough to change the
line-height
and values inbackground-image
? You set the values to leave the current spacing, so just adapt them to what you want. I don’t understand what the purpose of the question is.– Woss