Am trying to change the background color of an input holder once the input is clicked i used these
<div class="name"> <input type="text" class="input-name"></div>
CSS
.input-name:focus + .name{
background:#f00;
}
this is how it is normally 

this is what i want on focus 

but it wont Work
 
     
     
     
    