Check out example codes for "css selector contains". It will help you in understanding the concepts better.

Code Example 1

[class*="test"]
 {

  
 background: #ffff00;

 }

Code Example 2

attribute *= value {
  css declarations;
}
Demo

Learn ReactJs, React Native from akashmittal.com