Reputation: 21
I'm a little confused about something:
I decided to make a global LESS document where I declare my mixins. When the mixins are referenced in other style sheets, they do not work. They only seem to work when they are declared and referenced in the same style sheet. This is really annoying. Is this how LESS is suppose to work?
Thanks!
Bastain
Upvotes: 2
Views: 785
Reputation: 4042
LESS uses an import style that is similar to that used by C and C++. You need to import your mixin stylesheet into your LESS file using the @import
command before you can use those mixins.
Upvotes: 4