Select disabled textarea - HTML CSS CSS Selector

HTML CSS examples for CSS Selector:disabled

Description

Select disabled textarea

Demo Code

ResultView the demo in separate window

<html lang="en">
 <head> 
  <title>Lorem</title> 
  <style>
.bw-textarea {<!--from www.j a  v a2s  .co  m-->
   height:151px;
   padding:11px;
   overflow-y:auto;
   background:white;
   text-align:left;
   width:100%;
   border:2px solid Chartreuse;
   font-size:13px !important;
   color:yellow;
}

.bw-textarea textarea:disabled {
   background:cyan;
}

textarea.bw-textarea:disabled {
   background:cyan;
}
</style> 
 </head> 
 <body translate="no"> 
  <textarea disabled class="bw-textarea" name="" id="" cols="30" rows="10"></textarea>  
 </body>
</html>

Related Tutorials