Atribut selektor CSS berakhir dengan
/*
<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;
}