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()`: `<attr-name>` accepts namespaces
types: `attr()`: `<declaration-value>`
types: `attr()`: fallback values (`<declaration-value>`)
types: `attr()`: raw-string
types: `attr()`: `type(<syntax>)` function
types: `attr()`: `type(<syntax>)` function: `<angle>`
types: `attr()`: `type(<syntax>)` function: `<color>`
types: `attr()`: `type(<syntax>)` function: `<custom-ident>`
types: `attr()`: `type(<syntax>)` function: `<ident>`
types: `attr()`: `type(<syntax>)` function: `<image>`
types: `attr()`: `type(<syntax>)` function: `<integer>`
types: `attr()`: `type(<syntax>)` function: `<length>`
types: `attr()`: `type(<syntax>)` function: `<length-percentage>`
types: `attr()`: `type(<syntax>)` function: `<number>`
types: `attr()`: `type(<syntax>)` function: `<percentage>`
types: `attr()`: `type(<syntax>)` function: `<resolution>`
types: `attr()`: `type(<syntax>)` function: `<string>`
types: `attr()`: `type(<syntax>)` function: `<time>`
types: `attr()`: `type(<syntax>)` function: `<transform-function>`
23 results found.