Patricio Treviño

Patricio Treviño

Husband . Father . Developer
1total entries in attr

Adding content via css content/attr functions

Syntax

<selector>:[before|after] {
content: [attr(<attribute>) | 'plain text']
}
view raw syntax.text hosted with ❤ by GitHub

Option Description
attribute The name of the attribute to be used to populate content.