Hacker News new | ask | show | jobs
by masklinn 4301 days ago
why wouldn't it? Attribute selectors are just selectors.

    [foo] {
      color: blue;
      background-color: pink;
      .bar .baz {
        [qux~="ok"] {
          color: red;
        }
      }
    }
compiles to

    [foo] {
      color: blue;
      background-color: pink;
    }
    [foo] .bar .baz [qux~="ok"] {
      color: red;
    }
as I'd expect.
1 comments

Oh, lovely! I must have been mistaken then.