Css Target-counter Attribute Not Recognised
Solution 1:
target-counter()
is a CSS3 function, not a CSS2 function. It says so in the document that you link to!
Since that function is part of a long-forgotten CSS3 Generated Content module draft, you won't find any browser support for it yet as current implementations only support the level 2 Generated Content spec. This means that current browsers only support the use of the level 2 attr()
function with the content
property on the ::before
and ::after
pseudo-elements.
Additionally, the ALA article you link to mentions Prince, a piece of software for turning Web documents into paged documents with CSS. As I mentioned in another answer (where the question references the same ALA article!), the print styles you're referring to may only be supported and intended for use by Prince, not the print functions of any Web browsers.
Post a Comment for "Css Target-counter Attribute Not Recognised"