We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@import is (rightly) being treated as a special case: this statement will appear as the first line in the generated CSS file.
@import
However, if a banner is specified, it's inserted even before that.
banner
But as I understand, @import needn't come before any other lines in the .css file; it must simply come before other styles.
.css
Given .less:
.less
@import url('//fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,700'); body { color: red; }
And banner option:
"/* it's a banner */"
The resulting .css file will look like:
@import url('//fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,700'); /* it's a banner */ body { color: red; }
This happens regardless of whether compress is set.
compress
The text was updated successfully, but these errors were encountered:
Does this happen with v1.4.0 and/or less itself?
Sorry, something went wrong.
No branches or pull requests
@import
is (rightly) being treated as a special case: this statement will appear as the first line in the generated CSS file.However, if a
banner
is specified, it's inserted even before that.But as I understand,
@import
needn't come before any other lines in the.css
file; it must simply come before other styles.Example
Given
.less
:And
banner
option:"/* it's a banner */"
The resulting
.css
file will look like:This happens regardless of whether
compress
is set.The text was updated successfully, but these errors were encountered: