M
M
Max Zhukov2017-11-05 01:18:38
css
Max Zhukov, 2017-11-05 01:18:38

How to build the structure of less,css files for layout of a large number of pages?

How to build the structure of less,css files for layout of a large number of pages? In order not to write in one less, for example. I can use gulp.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sergey, 2017-11-05
@MaksZhukov

I will not speak for less, but in sass this is done very simply: Template 7-1 scroll to the desired item

A
Andrew, 2017-11-05
@daaner

I’ll just paste a piece from the first
SASS project I came across (in LESS the same way)

//style-guide
@import "style-guide/flash";
@import "style-guide/links";
@import "style-guide/breadcrumbs";
@import "style-guide/font";
@import "style-guide/search";
@import "style-guide/list-thumbnails";
@import "style-guide/content";
@import "style-guide/socials";

//post
@import "post/post";
@import "inform/inform";
@import "inform/category";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question