0
I have an input without borders inside a div and next to the input has a magnifying glass, in this case it is a search field, as far as I know is not possible with css but only with javascript, more suddenly someone can give me an idea, I need when I click on input text to div to have a custom border.
Below I will attach an image of how the component is, note that the outline is a gray div and inside it has an input and an img, when clicking on the input this gray div should be blue.
Show your code and explain what you want to do better. It might be possible without applying css to Parent (which in fact CSS does not).
– bfavaretto
See in the image above, I think you can understand well what I need to do, the idea is to try not to use javascript
– Diogo Soares