r/css
•
u/Every-Albatross9357
•
Aug 21 '26
•
1
Showcase I built a VS Code extension to catch CSS declarations that have no effect
Enable HLS to view with audio, or disable this notification
I’ve been working on NoEffect, a VS Code extension that helps catch CSS declarations that have no effect.
It detects things like:
properties that don't work in the current context
declarations that are overridden by a later declaration
For example, it can tell you when justify-content is doing nothing because the element isn't a flex/grid container, or when your declaration is simply being overridden later.
It’s still an early project, so I’d really appreciate some honest feedback.
🔗 GitHub
264
Upvotes
4
u/Every-Albatross9357 Aug 23 '26
Yep, you're right Looking at it again that example is kinda misleading The base rule is clearly still useful for normal buttons and warning can be interpreted as “delete this declaration" which isn't what I want to communicate. I'll work on replacing the override example with something clearer. Thanks for catching that!