I’m allowing user-input css.
What is a light and performant way to validate that css on the client side?
I’m looking for a javascript solution. I don’t want to send the css off to some remote server or anything.
Context:
Allowing user css
Thanks.
Edit: NVM on this question. I started using a server-side validator:
https://github.com/chriso/node-validator
1 Answer