With so many new features added to CSS in the past couple years, is Sass still needed in your projects? Is it time to remove Sass from your build process? What can native CSS and PostCSS do that can replace Sass functionality and how do you implement PostCSS in a Drupal 11 theme?
In this session, I will discuss an overview of current CSS features that replace functionality in Sass, and bleeding edge features that will replace Sass functionality in the future including:
- CSS custom properties
- Nesting
- New color functions
- if() and @function
- And more!
I will also give an overview of PostCSS, what functionality it can add to your project, and how to set up PostCSS in your Drupal 11 theme.
Lastly, I will discuss when you might not want to replace Sass *just yet* and how you can use Sass AND native CSS together to take advantage of your existing build process.
It’s an exciting time to be a CSS developer and the perfect time to learn more about what CSS can do natively without using Sass.