Topic: Mixins
aganeto free asked 5 years ago
I have my LogoComponent.scss file and inside of it, I have:
.logo { background-color: green; @include media-breakpoint-up(sm) { background-color: red; } }
However when I build it, I have the error: "No mixin named media-breakpoint-up" Where do I set this ?
Bartłomiej Malanowski staff answered 5 years ago
To use our mixins you need to include the "core" from our scss files. I recommend you to put your custom styles to _custom-styles.scss as it's the way that allows you to use extends, our mixins and variables
xdon82 free commented 5 years ago
where is that 'core' ? what is that file? where to look for it? how to import? I don't see full info how to configure that, to make it working? media-breakpoint-up for example
Bartłomiej Malanowski staff commented 5 years ago
The core is a directory which can be found in the scss directory
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: No