1total entries in attr
Adding content via css content/attr functions
Syntax
| <selector>:[before|after] { | |
| content: [attr(<attribute>) | 'plain text'] | |
| } |
| Option | Description |
|---|---|
| attribute | The name of the attribute to be used to populate content. |

| <selector>:[before|after] { | |
| content: [attr(<attribute>) | 'plain text'] | |
| } |
| Option | Description |
|---|---|
| attribute | The name of the attribute to be used to populate content. |