Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

parent (&) selector broken #35

Open
glennfu opened this issue Apr 19, 2011 · 1 comment
Open

parent (&) selector broken #35

glennfu opened this issue Apr 19, 2011 · 1 comment

Comments

@glennfu
Copy link

glennfu commented Apr 19, 2011

Using this:

    a {
      color: #038EA1;
      text-decoration: none;
      &:hover { text-decoration: underline; }
    }

Gives the error:

    expected one of @import * - @ :: : . # [ @media @font-face /* // } got & after:

Reading this post: https://less.tenderapp.com/discussions/questions/39-does-less-have-a-parent-selector-ala-sasss-operator

suggests that it works properly in the JS version, but has never worked in the ruby gem.

@heygambo
Copy link

It took me 1h to figure out that more doesn't support the & selector.
Would be nice to have a notice in README.markdown.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants