Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when I have @ in my CSS #82

Open
furzeface opened this issue Jul 18, 2016 · 2 comments
Open

Errors when I have @ in my CSS #82

furzeface opened this issue Jul 18, 2016 · 2 comments

Comments

@furzeface
Copy link

furzeface commented Jul 18, 2016

Error:

postcss-property-lookup: /Users/.../styles/main.css:742:1: Unable to find property @todo in .todo::before

or

postcss-property-lookup: /Users/.../styles/main.css:771:3: Unable to find property @support in .css-supports--grid::after

Is there a way round having @ symbols in my CSS?

I use them as follows in my CSS:

.todo::before {
  content: '@todo: ';
}

and

@supports (display: grid) {
  .grid-layout--a {
    display: -ms-grid;
    display: grid;
   }
}

For example.

Thanks.

@cema-sp
Copy link

cema-sp commented Sep 23, 2016

If you don't use postcss-property-lookup features, you may disable it passing following options to precss: { lookup: { disable: true } }

@furzeface
Copy link
Author

Oh great, thanks - I'll give that a go ASAP.

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

No branches or pull requests

2 participants