HTML에서 Textarea 테두리 제거
문제
나는 함께 일하고있다 textarea
HTML의 요소와 상자의 경계를 제거하려고합니다. 또한 텍스트를 내 맨 아래에 정렬하고 싶습니다. textarea
.
해결책
이것을 당신에게 추가하십시오 <head>
:
<style type="text/css">
textarea { border: none; }
</style>
또는 TextRea에서 직접 수행하십시오.
<textarea style="border: none"></textarea>
다른 팁
CSS에서 :
textarea {
border-style: none;
border-color: Transparent;
overflow: auto;
}
이것은 훌륭합니다 :
<style type="text/css">
textarea.test
{
width: 100%;
height: 100%;
border-color: Transparent;
}
</style>
<textarea class="test"></textarea>
textarea {
border: 0;
overflow: auto; }
CSS가 적습니다 ^ 불행히도 텍스트를 바닥에 맞출 수 없습니다.
제휴하지 않습니다 StackOverflow