1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00
laravel-tips/content/tips/use-tailwinds-color-opacity-modifier-to-change-the-background-color-and-opacity-in-a-single-class.md
2022-01-28 17:36:41 +01:00

583 B

title tweet_id thread_slug author_username images created_at slug
Use Tailwind's color opacity modifier to change the background color and opacity in a single class 1487081941711028227 weekly-thread-2022-04 austencam
https://pbs.twimg.com/media/FKJYn3PUYAEecqU.jpg
2022-01-28T15:15:38+00:00 use-tailwinds-color-opacity-modifier-to-change-the-background-color-and-opacity-in-a-single-class

Did you know Tailwind CSS has a shorthand syntax for background, border, and text opacity?

🔗 https://tailwindcss.com/docs/background-color#changing-the-opacity