where to place media queries?

Permalink
Hello:)

Where to place media queries?

I made a my-custom-design.less file for my custom css classes(used in media-q)

It's called in main.less like this

div.ccm-page {
@import filepath/my-custom-design.less
}

Should I place my media queries in my-custom-design.less or place them
at end of main.less file?

Does it matter where I place them?

ps I have tried them in different places and they work regardless, but I would like to know the right place to put them

low tech

lowtech
 
Steevb replied on at Permalink Reply
Steevb
I don't think it matters as long as everything works.

Some people put all styles in one .less file and some split them into many files.
lowtech replied on at Permalink Reply
lowtech
Hi

for now at least, I have decided to put them in a less file for ease of management and import that into end of main

Thanks

LT