I got a confusing error regarding animate.css in nextjs

29 Views Asked by At

everything compiled correctly prior to this

tried to look up solutions on net but unfortunately couldnt find anything

in case image didnt load:

Failed to compile

./node_modules/animate.css/animate.css:8:1 Syntax error: Selector ":root" is not pure (pure selectors must contain at least one local class or id)

6 | * Copyright (c) 2020 Animate.css 7 | */

8 | :root { | ^ 9 | --animate-duration: 1s; 10 | --animate-delay: 1s;

0

There are 0 best solutions below