oliverdavies.uk/source/_daily_emails/2024-05-26.md

24 lines
1.1 KiB
Markdown
Raw Normal View History

---
title: Is it time to stop writing Sass?
date: 2024-05-26
permalink: daily/2024/05/26/is-it-time-to-stop-writing-sass
tags:
2024-09-08 22:09:54 +00:00
- software-development
- css
cta: ~
snippet: |
2024-09-08 22:09:54 +00:00
Is it time to stop writing stylesheets is Sass?
---
I've seen a lot of recent posts that ask questions like "Is it time to stop writing Sass?".
I haven't written a Less or Sass stylesheet since I adopted utility classes and Tachyons, and then Tailwind CSS, and I moved to PostCSS.
But, with recent native browser support added for some Sass features, such as [CSS nesting][nesting] and [CSS custom properties][custom properties] (variables), people are considering moving from Sass to regular CSS.
Using regular CSS also makes it easier to onboard new Developers onto your project, which is particularly helpful in open-source projects, as [Mark Conroy and I discussed][podcast] on the Beyond Blocks podcast.
[custom properties]: https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
[nesting]: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_nesting
[podcast]: {{site.url}}/podcast/11-mark-conroy