Answers for "css change class name start with"

CSS
0

css change class name start with

/* CSS pure */
div[class^='myclass'], div[class*=' myclass']{
    color: #F00;
}

/* css change class name start with styled components */
& [class^='Pagination-activeButton'],
[class*=' Pagination-activeButton'] {
  span {
    color: #fa751f !important;
  }
}
Posted by: Guest on June-19-2020

Browse Popular Code Answers by Language