DEV Community

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

Collapse
 
supportic profile image
Supportic

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

Collapse
 
jsankha profile image
sankha

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.