Menu


Menu Tab

Pages

Beberapa macam model textarea


TEXTAREA

ada beberapa macam model textarea untuk menampilkan script kedalam postingan yang dapat diterapkan ke halaman baru HTML. berikut contoh textarea

1- Textarea Hover dengan warna background

<style>.textarea {
padding:0;
margin:0;
background: #444;
width:483px;
height:100px;
color:#00BFFF;
font:12px arial;
border:0px dashed #fff;
}
.textarea:hover {
color:#fff;
border:2px solid #fff;
}</style>

 <textarea class="textarea" readonly="readonly">             
          your code here
</textarea>

1- Contoh Textarea Hover
2- Textarea Slect dengan warna background

<textarea class="input" cols="56" onclick="javascript:this.select();" readonly="true" rows="3" style="background:#bffaff;color:#FF0000;border-bottom:4px solid #40FF1F;border-right:4px solid #40FF1F;border-top:4px solid #FFE900;border-left:4px solid #FFE900;line-height:1.5em;padding:5px;">
your code here
</textarea>
2- Contoh Textarea Select
3- Textarea Auto Slect dengan warna background

<textarea onclick="input" cols="56"this.focus();this.select()" onfocus="this.select()" onmouseover="this.focus()" readonly="readonly" rows="3" style="background:#4B0082;color:#fff;border-bottom:4px solid #40FF1F;border-right:4px solid #1E90FF;border-top:4px solid #1E90FF;border-left:4px solid #FFE900;line-height:1.5em;padding:5px;">
your code here
</textarea>
3- Contoh Textarea Auto Select
All Sources
Edited by. Myscript2010


Mari Belajar

Myscript2010

Home Page
 
 

M2010

Copyright © Cibeber Cimahi