Css selectors - Match strings na Class do inicio, meio e fim

PHOTO EMBED

Thu Nov 24 2022 10:49:53 GMT+0000 (Coordinated Universal Time)

Saved by @danlourenco #css

[class^="Nam-"][class*="StdCss-"][class$="-Cls"]{
  color:red;
}
/*note the space after the class name---------v*/
[class^="Nam-"][class*="StdCss-"][class*="-Cls "]{
  color:blue;
}
/*       v---note the space before the class name*/
[class*=" Nam-"][class*="StdCss-"][class$="-Cls"]{
  color:green;
}
/*       v------space before and after---------v */
[class*=" Nam-"][class*="StdCss-"][class*="-Cls "]{
  color:purple;
}
content_copyCOPY

https://stackoverflow.com/questions/54256415/css-target-just-class-name-starts-with-and-ends-with-string