It's because your selector
.input_box input:focus + .tooltipimplies that the input and the tooltip are siblings, which they're not. The .input_box and the .tooltip are siblings. You need to refactor your markup. -- S.
It's because your selector
.input_box input:focus + .tooltipimplies that the input and the tooltip are siblings, which they're not. The .input_box and the .tooltip are siblings. You need to refactor your markup. -- S.