HTML CSS examples for CSS Form:input
Change color of value in input
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .problem[readonly]{<!--from ww w. j av a 2 s.co m--> color:red; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } </style> </head> <body> <input class="problem" type="text" value="some text" readonly unselectable="on"> </body> </html>