I\'m trying to add color to different element with a data attribute in my css but doensn\'t work ...
I follow this instructions :
The attr() Function: Proper
If you are talking only about colors, you can use currentColor value as a proxy.
For example:
HTML
CSS
.bgborder { background-color: currentColor; }