0

Although it works on a local development server, when deployed to production one of the properties in my CSS is abruptly being changed in value.

The LESS says opacity: 92% but when I run npx parcel build on it, the resultant CSS file has opacity: 1% instead. I've never seen this before, and it started happening suddenly - this same code was working fine for a long time until this came out of nowhere.

What could be causing this?

temporary_user_name
  • 35,956
  • 47
  • 141
  • 220
  • I have no idea why but this suddenly started happening to me. Just use decimal property format instead of percentage, fixes it. See last line of top answer to https://stackoverflow.com/questions/57012564/how-to-define-opacity-by-percentage-in-css – temporary_user_name Sep 08 '22 at 00:28

0 Answers0