Support @include for scss code
See original GitHub issueAt the moment the plugin can change a position of @include
rule for scss code which is not safe and can lead to a wrong result.
Example:
Input
a {
@include bla;
color: red;
display: block;
}
Output
a {
display: block;
color: red;
@include bla;
}
It’d be really good to preserve the position of @include
rule.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
mixin and @include - Sass
Mixins allow you to define styles that can be re-used throughout your stylesheet. They make it easy to avoid using non-semantic classes like...
Read more >How to Use Sass with CSS - freeCodeCamp
Sass is a CSS preprocessor that helps you manage tasks in large projects where the style sheets get larger, you have a number...
Read more >CSS, SCSS, and Less support in Visual Studio Code
For this walkthrough, let's use either the sass or less Node.js module. Note: If you don't have Node.js and the npm package manager...
Read more >supports - CSS: Cascading Style Sheets - MDN Web Docs
The @supports CSS at-rule lets you specify CSS declarations that depend on a browser's support for CSS features. Using this at-rule is ...
Read more >Sass @mixin and @include - W3Schools
The @mixin directive lets you create CSS code that is to be reused throughout the website. The @include directive is created to let...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Works great. Thank you!
All right, thank you for testing! I have published the change under under version 3.0.1.