DEV Community

Discussion on: SCSS, a more advanced and powerful weapon for page styling

supportic profile image

DoSqrRoot function doesn't look right 😂 and @import will or is already deprecated. @use @foward is what you want

jsankha profile image
sankha Author

Thanks for the information. Will check DoSqrRoot function, but @import is still working fine for me. There is a basic differences between @import @use and @foward. @import is actually importing SCSS rules from A.SCSS to B.SCSS, whereas @use and @foward loads mixins, functions, and variables from other Sass stylesheets. Yes, @import is going to phase out gradually.