Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Stop using @import with Sass | @use and @forward explained

Автор: Kevin Powell

Загружено: 2021-02-23

Просмотров: 274347

Описание:

Keep up to date with my Sass course: https://beyondcss.dev/?utm_campaign=O...

The use of @import has been deprecated in Sass for quite a while now, but a lot of people still use it. In this video, I take a quick look at the replacements you should be using instead, @use and @forward. I just scratch the surface in this one, but it should be enough to get you started!

A quick note, if you are using node-sass, it is out of date and @use and @forward, as well as their entire module system, will not work. If you're using the Watch Sass extension in VS Code, there is no way to update it. If you are using npm or yarn, just switch out the install of node-sass for sass instead.

Check out this video for the basics of getting Sass set up using the command line:    • Sass with auto-refresh (and more) made easy  

Why Sass changed to Dart: https://sass-lang.com/blog/announcing...

// Chapters
00:00 - Introduction
00:56 - Watching files for changes
02:00 - @use basics and namespacing
04:46 - important @import and @use difference
07:46 - namespacing
08:38 - @forward with an index file
12:22 - Outro

#sass #scss

--

Come hang out with other dev's in my Discord Community
💬   / discord  

---

Keep up to date with everything I'm up to
✉ https://www.kevinpowell.co/newsletter

---

Help support my channel
👨‍🎓 Get a course: https://www.kevinpowell.co/courses
👕 Buy a shirt: https://teespring.com/stores/making-t...
💖 Support me on Patreon:   / kevinpowell  

---

My editor: VS Code - https://code.visualstudio.com/

---

I'm on some other places on the internet too!

If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.

Instagram:   / kevinpowell.co  
Twitter:   / kevinjpowell  
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell

---

And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

Stop using @import with Sass | @use and @forward explained

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

5 Sass features that make it better than vanilla CSS

5 Sass features that make it better than vanilla CSS

Модули Sass: use, forward, import

Модули Sass: use, forward, import

Learn flexbox the easy way

Learn flexbox the easy way

Stop using an extension to compile Sass

Stop using an extension to compile Sass

Sass @import is being replaced with @use and @forward

Sass @import is being replaced with @use and @forward

Хитрость с переменными CSS, о которой вы бы хотели знать раньше

Хитрость с переменными CSS, о которой вы бы хотели знать раньше

Sass with auto-refresh (and more) made easy

Sass with auto-refresh (and more) made easy

Flexbox is more complicated than you thought

Flexbox is more complicated than you thought

Tailwind CSS v4 Full Course 2025 | Master Tailwind in One Hour

Tailwind CSS v4 Full Course 2025 | Master Tailwind in One Hour

Изучите Sass за 20 минут | Экспресс-курс Sass

Изучите Sass за 20 минут | Экспресс-курс Sass

CSS Flexbox и Grid — правильно ли вы их используете?

CSS Flexbox и Grid — правильно ли вы их используете?

Программируем с ИИ в VS Code - БЕСПЛАТНО! Сможет каждый!

Программируем с ИИ в VS Code - БЕСПЛАТНО! Сможет каждый!

Sass Tutorial for Beginners - CSS With Superpowers

Sass Tutorial for Beginners - CSS With Superpowers

Flexbox or grid - How to decide?

Flexbox or grid - How to decide?

Как сжимаются изображения? [46 МБ ↘↘ 4,07 МБ] JPEG в деталях

Как сжимаются изображения? [46 МБ ↘↘ 4,07 МБ] JPEG в деталях

ВСЕ ЧТО НУЖНО ЗНАТЬ О ДЕПЛОЕ, DOCKER, CI/CD, ЕСЛИ ТЫ НОВИЧОК

ВСЕ ЧТО НУЖНО ЗНАТЬ О ДЕПЛОЕ, DOCKER, CI/CD, ЕСЛИ ТЫ НОВИЧОК

Create a responsive navigation nav with no JS!

Create a responsive navigation nav with no JS!

5 CSS Tips & Tricks for better Responsive Web Design

5 CSS Tips & Tricks for better Responsive Web Design

Learn CSS Grid the easy way

Learn CSS Grid the easy way

Sass Crash Course

Sass Crash Course

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]