change css property when editing a input fiel code example Example: style input by type /* Style input based on type */ input[type=text] { }