CSS - Targeting wildcard div id

0 votes
212 views
added Aug 4 in CSS by lcjr Lieutenant (12,420 points)

If you want to target any <div> with an id attribute (regardless of value) inside .mrec-sideslide-toggle and apply a pseudo-element, you can do:

.component-toggle {
  opacity: 0;
  div[id] {
    iframe {
      display: none !important;
    }
  }
}

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...