I need to target some div
without any ID
or class
. Also, I can't do much with nth-child()
, because the page changing day-by-day with adding random divs
(below and after the needed div
). However, the only thing to help here is the inside(of the needed div
) tag <ins>
with specific and unique class
(say uniqueclass
). I found this article at css-tricks(https://css-tricks.com/parent-selectors-in-css/) and tried this:
div < .uniqueclass { display: none !important; }
also tried with the :parent
, didn't work too.
I need a pure css(including css3) solution. No cross-browser support needed as long as it works with FF :)
update:
the css-tricks link is useless, probably... I missed the fact it was just a suggestion. ...once.
` element, within the `