data attributesvalue how to set as color css code example Example: css set property with data attribute div::after { content: attr(data-whatever); }