oliverdavies.uk/source/_daily_emails/2023-05-10.md

19 lines
568 B
Markdown
Raw Normal View History

2024-01-03 20:00:00 +00:00
---
title: >
2024-02-07 20:01:19 +00:00
Tailwind CSS makes change easier
2024-01-03 20:00:00 +00:00
pubDate: 2023-05-10
permalink: >-
2024-02-07 20:01:19 +00:00
archive/2023/05/10/tailwind-css-makes-change-easier
2024-01-03 20:00:00 +00:00
tags:
2024-02-07 20:01:19 +00:00
- css
- tailwind-css
2024-01-03 20:00:00 +00:00
---
CSS usually has a global scope which can make change risky.
How do you know that changing CSS in a global stylesheet to fix a bug won't cause more elsewhere?
Tailwind CSS and utility classes change CSS to a local scope.
You can see what styling is applied to an element by looking at its classes and easily make changes without worrying that it will cause unexpected issues elsewhere.