background color changes when user focus in patricular input code example Example: color background to input boxes on focus input:focus { background-color: yellow; }