chinchang / hint.css

A CSS only tooltip library for your lovely websites.

Home Page:https://kushagra.dev/lab/hint/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot compile 2.0: Error: Base-level rules cannot contain the parent-selector-referencing character '&'

AirQuick opened this issue · comments

I think this didn't happen on 1.x:

P:\test\hint.css-2.0.0\src>sass --version
Sass 3.4.21 (Selective Steve)

P:\test\hint.css-2.0.0\src>sass hint.scss
Error: Base-level rules cannot contain the parent-selector-referencing character '&'.
        on line 18 of hint-mixins.scss, in `arrow-border-color'
        from line 75 of hint-position.scss
        from line 25 of hint.scss
  Use --trace for backtrace.

I think you are using Ruby SASS. Hint.css uses node-sass (based on libsass). So once you do npm install please use grunt command as mentioned in Contributing guide to build the library.