i am working with bootstrap and i am confused with it css. They have class selector in their css code. i dont understand what this code actually does. Does this css apply on only span or what else.
.row-fluid [class*="span"] {
display: block;
float: left;
width: 100%;
min-height: 28px;
margin-left: 2.127659574%;
*margin-left: 2.0744680846382977%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
It’s a partial attribute selctor, and applies to anything with the string
spanin it’s class name. It’s used forspan2and such. For example[class*="span"]will match these elements: