I have two senario class started from icn- and in-betwen icn- .Both have same properties.can we add one selector or regex which work in both cases ?
.f20 [class^="icn-"]:before,.f20 [class*=" icn-"]:before {
font-family: 'icons' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale
}
icnis not a class? you can select based on multiple classes. Edit: for example if you makeicn-whateverinto two classesicnandwhatever, then where you had.icn-whateveryou can put.icn.whatever(notice no spaces). And that, would, of course, allow you to just select.icnseparatedly if you needed.