Answer the question
In order to leave comments, you need to log in
Question about the less + BEM preprocessor?
The other day I plunged into the world of preprocessors. Googled, read and watched video tutorials but did not find the right answers. I understand that preprocessors are power, for this I am eager to learn and use them)
The following points are of interest:
1) Imagine that there is a certain base folder
base/
├── base.less
├── bootstrap-reset.less
├── fonts.less
├── normalize.less
components/navbar/
├── navbar.less
├── navbar.js
├── nav-icon-1.png
├── nav-icon-2.png
Answer the question
In order to leave comments, you need to log in
Prev PS First of all, I really hope you use normalize in your projects
1. You can use pure css in less files, but I doubt you'd be interested in the nesting that less allows you to do.
This less
.footer {
color: #fff;
a {
font-size: 24px;
}
}
.footer {color: #fff;} .footer a {font-size:24px}
@media (max-width: 767px)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question