T
T
TANK_IST2014-10-02 22:55:08
css
TANK_IST, 2014-10-02 22:55:08

Why don't mixins work in compass?

Installed sass and compass.
@import "compass/reset"; - works, but
@include display-flex; for example, it does not work, as well as other mixins.
Why is that?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai Shabalin, 2015-01-26
@nikolayshabalin

There are only two options here.
1. Connect the entire compass at once - @import compass;. And forget that there are some modules. In this case, the compilation speed will slightly decrease due to the huge number of imports.
2. Connect the modules used - @import 'compass/css3/flexbox';
compass-style.org/reference/compass/css3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question