input[pattern]:invalid
{                        
    color:red; 
}