Here's the sample:
.my-class {
  font-size: 12px;
}
.my-another-class {
  /* here I want to include .my-class style */
  .my-class;
  border: 0;
}
Can I include one css class into another or not?
Here's the sample:
.my-class {
  font-size: 12px;
}
.my-another-class {
  /* here I want to include .my-class style */
  .my-class;
  border: 0;
}
Can I include one css class into another or not?
 
    
    You can define multiple targets for the .my-class rule, then specify further rules just for .my-another-class:
.my-class,
.my-another-class {
  font-size: 12px;
}
.my-another-class {
  border: 0;
}
You can even then override certain properties, for example
.my-class,
.my-another-class {
  color: red;
  font-size: 12px;
}
.my-another-class {
  border: 0;
  color: blue; /* overrides color: red; on .my-another-class */
}
 
    
    You can't, but you can do something like this:
.my-class, .my-another-class{
  font-size: 12px;
}
.my-another-class {
  border: 0;
}
