I want to make an input that if the input is active then the parent element will get a box-shadow
and this is my code :
.searchbar input:active .searchbar{
box-shadow: 0 4px 24px 0 rgb(0 0 0 / 8%);
}
I want to make .searchbar
get box-shadow when input
(child element) is active