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

parent (&) selector broken #35

@glennfu

Description

@glennfu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载