I want to write style for the parent element of the child class .gm-style .gm-style-iw. I used :parent as well but it is not working. These two class are dynamically appear in the DOM.
I am stuck here. Please help.
I want to write style for the parent element of the child class .gm-style .gm-style-iw. I used :parent as well but it is not working. These two class are dynamically appear in the DOM.
I am stuck here. Please help.
Copyright © 2021 Jogjafile Inc.
It isn't possible with pure CSS you could do it with Javascript but there is no option to do this with pure CSS, sorry.
The
:parentis a concept of how it could look like when it's implemented.Edit - JS
this should work even in IE11 just insert the class you want to add to the parent with the styles it should get.