Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
css separation
posted

I would like to apply the css only to an element with a specific class rather than break all of the css on my existing app. How can this be done?

Adding the following to my styles.scss breaks the app. Adding it to the component does not work unless I set the encapsulation to `ViewEncapsulation.None`  which has the same effect


  @import "~igniteui-angular/lib/core/styles/themes/index";
  // Uncomment the following lines if you want to add a custom palette:
  // $primary: #731963 !default;
  // $secondary: #ce5712 !default;
  // $app-palette: igx-palette($primary, $secondary);

  @include igx-core();
  @include igx-theme($default-palette);
Parents Reply Children
No Data