I have a CSS file that uses CSS3 properties (opacity and -moz-* and -webkit-* ones). Of course, it doesn't validate as CSS 2.1. Not a big deal, but nevertheless is it possible to make it valid CSS 2.1?
-
It's unclear what you're actually asking, because you include the answer to your stated question in the sentence before you ask said question.TylerH– TylerH2022-10-17 13:51:46 +00:00Commented Oct 17, 2022 at 13:51
Add a comment
|
4 Answers
Illegal values or unknown properties are being ignored. So unless you have a syntax error, you can use those values/properties.
Or do you want to have a valid CSS 2.1 stylesheet just to put a badge on your website?
Comments
It is not possible to validate an invalid CSS.
A CSS with not standard selectors is not valid.
2 Comments
Gumbo
Validating is the process of testing the validity. And valid and invalid are the results you get when you validate something.