input:focus+button {
background: red;
}
$('input').on('focus', function(){
$('.btn').css("background-color", "pink");
})
<input @blur="$element.focus()" < code>
commented on July 8th 19 at 16:48Find more questions by tags jQueryCSSJavaScriptHTML