uinstinct
uinstinct

Reputation: 740

problem in css file - issue with empty css rules?

I tested over each css file in my project which gave me this error and finally found which file it was.

I found the problem in Main.css which was linked with Main.js

It would be very helpful if someone could tell me this where exactly is the error in Main.css

Originally asked here : Cannot read property 'type' of undefined CompileError: Begins at CSS selector undefined `npm run build`

Upvotes: 0

Views: 257

Answers (1)

shamsup
shamsup

Reputation: 2032

Running your CSS through the CSS Validator will give us the following output: css validator output

From this, I went to the rotate3d documentation and saw that it requires 4 arguments. While browsers seem to understand it with only 1 argument as long as it is 0 without a unit (from the first example on that page), it is a best practice to provide all 4 arguments rotate3d(0, 0, 0, 0)

Upvotes: 1

Related Questions