0

I'm trying to nest a CSS selector to find several id's und classes that's being generated from drupal.

.wrapper, #wrapper {
    [class^="starts-with-"] { ... }
}

but it just won't work like i expect it to. The output is

 .wrapper[class^="starts-with-"],
 #wrapper[class^="starts-with-"] { ... }

i'd expect to select element IN .wrapper and #wrapper

.wrapper [class^="starts-with-"],
#wrapper [class^="starts-with-"] { ... }
denns
  • 1,105
  • 1
  • 11
  • 24

0 Answers0