HTML CSS examples for CSS Selector:disabled
Select disabled textarea
<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>