DEV Community

Discussion on: Creating a modal dialog in Tailwind CSS and Alpine.js

Collapse
 
akamal profile image
Ahmed Kamal • Edited

You can use this "bg-black bg-opacity-50 ..." instead of the inline style style="background-color: rgba(0,0,0,.5);" in Tailwind CSS v1.9.6

and thank you for this post, it was helpful