It is not possible with css3, only javascript can do this. you can try in jQuery something like that
$(".inputTextField").on("click",function(){
$(this).parent().addClass("active");
});
you have to put your CSS like That :
.active {
// Css Code
}