PolymerElements / paper-progress

A Material Design progress
32 stars 43 forks source link

class styling is not working #81

Closed hedcet closed 5 years ago

hedcet commented 5 years ago

currently, i have multiple progress-bar in one page & i need to give different color for each one so i tried css path with class like paper-progress.<classname>

paper-progress.1 {
  --paper-progress-active-color: #C23531;
  --paper-progress-secondary-color: rgb(194, 53, 49, .3);
 }

its not working, pls support css path with class i know the same thing with this format paper-progress[class="1"] will work

keanulee commented 5 years ago

1 is not a valid CSS class name - class names must not start with a number https://stackoverflow.com/questions/448981/which-characters-are-valid-in-css-class-names-selectors