html css textarea size regulate

BackEnd_Ash.log·2020년 7월 1일
0

if you don't know
what is this text area ??
==> recommand google search html css textarea

then...

take textarea

<textarea name="" id="" cols="150" rows="8">
  content........ content.......content......
</textarea>

if you just make textarea , your textarea width and height is default

likes image

but if you want regulate width and height

 <textarea cols="150" rows="8">

and want style

textarea {
padding : 10px;
width : 100%;
max-height:14rem;
font-size:15px;
}

td textarea

  .information {
   background: $blue-back;
   border: $black_border;
   color: black;
   float: left;
   min-width: 122px;
   font-weight: bold;
   text-align: center;
   height: 30px;
   font-size: 13px;
 }


<tr>
  <td className="information">information</td>
  <td>
     <textarea name="" cols="150" rows="8">                      sladfkjsaldkfjasldfkhlhvlasjhdflkjsahf
                     lkjhasdflkjhsdflkjashfalkjsdfhslkdfjhaskdlfjhasf
                     asdlkfjhsdfljkhsafljasklfhkashfd 가나다라마바사 abcdefg
                     마하반야바라밀다
     </textarea>
  </td>
</tr>

profile
꾸준함이란 ... ?

0개의 댓글