I'm using Tailwind CSS library in my web project. I want to convert all Bootstrap CSS components and use them in my web project. Is this possible?
I'm using Tailwind CSS library in my web project. I want to convert all Bootstrap CSS components and use them in my web project. Is this possible?
You can define some Bootstrap components as custom and use them in the Tailwind project. The downside here is to distinguish between common class styles and globally defined class styles used by components defined in the Tailwind library and the Bootstrap library. In this case, if you change the class names of the Bootstrap component you want to add externally to the project, there will be no conflict. You can check this demo for easier discovery.
One way to manually add some components is to create a new bootstrap project and open DevTools in the browser to explore the styles of reverse engineered elements from the Styles panel on the Element tab.