I'm working on a project where the user can write custom CSS which will be applied to his website. My concern is how can I validate that CSS code, whether it is right or not? I want to implement a CSS editor like WordPress custom CSS editor. Any leads will be appreciated.
Asked
Active
Viewed 30 times
1
-
you can try use validator by w3 [validator](https://validator.w3.org/#validate_by_uri) – Vendetta Jan 04 '23 at 08:00
-
does w3 validator provides api to validate css code? – Priyanka Jan 04 '23 at 08:07
-
2[link](https://validator.w3.org/docs/api.html) – Vendetta Jan 04 '23 at 08:18