???? My course: Responsive Design for Beginners! https://coder-coder.com/responsive/ This video explains the new @use and @forward rules in Sass that are replacing the old @import rule. I'll show you how the old and new rules compare, and how to set
???? My course: Responsive Design for Beginners! https://coder-coder.com/responsive/
This video explains the new @use and @forward rules in Sass that are replacing the old @import rule. I'll show you how the old and new rules compare, and how to set up your Sass/SCSS files in your workflow.
If you want to see me build a real-world project using the new Sass rules, check out my current series: https://www.youtube.com/watch?v=nI0BfXFjI1I&list=PLUWqFDiirlsu5az5EIyxe8ZddyNO_kDuP&index=2&t=386s
0:00 - Intro
0:43 - ✨ Thank you to GitHub sponsors clint25104, ChideraObi, and Deta ✨
1:09 - Walkthrough of the demo project
1:58 - Looking at files with "old" way using @import
4:47 - Issues with @import and why @use and @forward were introduced
8:32 - Sass modules explained
10:11 - Updating the old Sass files with the new @use and @forward rules
16:03 - How the new rules fix the issues with @import
19:14 - Updating Gulp config for the new Sass syntax
Resources mentioned:
Sass Modules by Miriam Suzanne -- https://www.oddbird.net/2019/10/02/sass-modules/
Libsass is Deprecated -- https://sass-lang.com/blog/libsass-is-deprecated
Support for @import will be dropped latest Oct 2022 -- https://github.com/sass/sass/blob/main/accepted/module-system.md#timeline
____________________________
LINKS & RESOURCES
???? Learn full-stack web development and more with Zero to Mastery:
https://zerotomastery.io/courses/?affcode=441520_ti97uk6b
SUPPORT THE CHANNEL
⭐ Join channel members and get perks: https://www.youtube.com/channel/UCzNf0liwUzMN6_pixbQlMhQ/join
???????? Hit the THANKS button in any video!
???? Get my VS Code theme: https://marketplace.visualstudio.com/items?itemName=CoderCoder.codercoder-dark-theme
WANT TO LEARN WEB DEV?
Check out my courses:
???? Responsive Design for Beginners: https://coder-coder.com/responsive/
???? Gulp for Beginners: https://coder-coder.com/gulp-course/
RECOMMENDATIONS
⌨ My keyboard-- get 10% off with code THECODERCODER -- https://vissles.com/?ref=mu96kxst5w
???? Other gear -- https://www.amazon.com/shop/thecodercoder?listId=1LMCKGUTMVYXD
???? My Favorite Books -- https://coder-coder.com/best-web-development-books/
???? My Favorite Courses -- https://coder-coder.com/best-web-development-courses/
???? FOLLOW CODER CODER
Blog -- https://coder-coder.com/
Twitter -- https://twitter.com/thecodercoder
Instagram -- https://www.instagram.com/thecodercoder
#sass #css #coding









