:focus is the same as :focus-visible
How can I make this work?
Basically I want the input to have a blue bg when it's focused by tab, and when it's focused normally, it should be red. Right now, it's always blue due to the order or the styles, how can i fix it?
1 Reply
i don't think it is possible with css alone.
with js you could do something like this
Maybe there are better solutions, so wait for other suggestions as well.