Shadow Piercing in LESS causing VS Code to freak out?

Solution:

Boom! Done.

The reason behind this is that the shadow peircing property is actually not part of the official CSS spec. The reason why it works in Angular is because your styles run in emulated mode (unless otherwise stated) so Angular compiles them to valid CSS. This mode allows your component’s CSS to be encapsulated.

Like what you read? Give Tarik A a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.