883CSS content property
- Sep 2, 2009@charset "UTF-8";
content: counter(foo) "." attr(bar);
1) content is only supposed to be used on the :before, ::before, :after, and ::after pseudo-elements. Opera supports it on any element, in case that matters any.
2) content can accept an "attr()" property.
2) content can accept multiple values, but JSLint expects content to only have one. Here are the error messages:
Problem at line 3 character 27: Expected ';' and instead saw '.'.
Problem at line 3 character 31: Unrecognized style attribute 'attr'.
Problem at line 3 character 35: Expected ':' and instead saw '('.