Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

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 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