CSS Generated content for pseudo-elements
Method of displaying text or images before or after the given element's contents using the ::before and ::after pseudo-elements. All browsers with support also support the `attr()` notation in the `content` property.
CSS3 attr() function for all properties
While `attr()` is supported for effectively all browsers for the `content` property, CSS Values and Units Level 5 adds the ability to use `attr()` on **any** CSS property, and to use it for non-string values (e.g. numbers, colors).
types: `attr()`
types: `attr()`: <fallback>
types: `attr()`: <type-or-unit>
types: `attr()`: <type-or-unit>: <angle>
types: `attr()`: <type-or-unit>: <color>
types: `attr()`: <type-or-unit>: <frequency>
types: `attr()`: <type-or-unit>: <integer>
types: `attr()`: <type-or-unit>: <length>
types: `attr()`: <type-or-unit>: <number>
types: `attr()`: <type-or-unit>: <percentage>
types: `attr()`: <type-or-unit>: <time>
types: `attr()`: <type-or-unit>: <url>
14 results found.