Das CSS -Selektorenattribut endet mit
/*
<div class="" id="" data-attr="background-black">
*/
[data-attr$="-black"] {
background: #000000;
}
Anxious Albatross
/*
<div class="" id="" data-attr="background-black">
*/
[data-attr$="-black"] {
background: #000000;
}