HTML CSS examples for CSS Form:input
Input[type="file"] check existence of file attachment with css
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #file:valid {<!-- w w w.j ava 2 s .co m--> color:Chartreuse; } #file:invalid { color:yellow; } </style> </head> <body> <input id="file" type="file" name="fileselect" required> </body> </html>