assemble / assemble-less

Grunt task for compiling LESS to CSS. This task does for less what Assemble does for HTML, making it much easier to modularize and reduce repetition in stylesheets.

Home Page:http://github.com/assemble/assemble/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@media query and mixin issue

kenilam opened this issue · comments

commented

I am using assemble-less for a project I am building, and I have some variable like this:
@grid-size: 180px;
@wide: 12;
@min-wide: @wide * @grid-size;

When I do: body { width: @min-wide; }

It output nicely like: body { width: 1620px; }

But when I do:
@media and all (min-width: @min-wide) { }

It output:
@media all and (max-width: 12 * 180px) { }

I am not sure if it is a less bug or it has been fix on 1.7, or I am just not doing it correctly. But any suggestion would be much appreciate.

Thank you

please create an issue on less.js for this, thanks

Hi Dear why i get copy the email???

Date: Sun, 23 Feb 2014 23:49:38 -0800
From: notifications@github.com
To: assemble-less@noreply.github.com
CC: vobregon@hotmail.com
Subject: Re: [assemble-less] @media query and mixin issue (#23)

Closed #23.


Reply to this email directly or view it on GitHub.

because @kenilam didn't use backticks around their code.