input { border: 1px solid black; padding: 3px; height: 20px; } input:placeholder-shown { border-color: teal; color: purple; font-style: italic; }