0

I am having an issue while nesting a import in a class like

.base-class-xirLd4a709  {
  @import 'semantic.css';
  .deal-icon {
    vertical-align: top;
    height: 30px;
    margin: 5px 0px 0px 5px;
  }
}

Imported css is effecting outside of parent class and effecting the whole page. How to make it block scope?

Danish
  • 325
  • 1
  • 4
  • 12

0 Answers0