input[type="text"], input:not([type]) { … Durch diese Deklaration werden sowohl die input -Elemente, deren type -Attribut den Wert text hat, als auch alle input -Elemente ohne type -Attribut selektiert. you can type in the input or press the button with Enter). This border is used to show that the element is focused (i.e.

You can remove it, though: textarea:focus, input:focus{ outline: none; } You may want to add some other way for users to know what element has keyboard focus though for usability.