Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Oh, lovely! I must have been mistaken then.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: