content: attr(data-hover); code example

Example 1: css attr(data-hover)

<button data-tooltip="Information only mouse-having sighted people will see.">
  Button
</button>

Example 2: css attr(data-hover)

div::after {
  content: attr(data-whatever);
}

Tags:

Css Example