I have this CSS which targets all classes containing a - character.
[class*="-"] {
background-color: rgba(86, 61, 124, 0.15);
border: 1px solid rgba(86, 61, 124, 0.2);
padding-bottom: 15px;
padding-top: 15px;
margin-bottom: 20px;
}
Is it possible to target all classes with a - character and a number afer it?