Convert Bootstrap CSS to Tailwind CSS

3.0.6 2021-06-18 12:59 UTC

This package is auto-updated.

Last update: 2024-03-29 04:40:06 UTC


README

Latest Version on Packagist Actions Status

68747470733a2f2f7062732e7477696d672e636f6d2f6d656469612f44512d6d446753583041557043504c2e706e67

This tool can convert Your CSS framework (currently Bootstrap) classes in HTML/PHP (any of your choice) files to equivalent Tailwind CSS classes.

Features

  • Made to be easy to add more CSS frameworks in the future (currently Bootstrap).
  • Can convert single files/code snippets/folders.
  • Can extract changes to a separate css file as Tailwind components and keep old classes names. like:
.p-md-5 {
	@apply md:p-7;
}

Help Us

  • If you find unexpected conversion result, create an issue; if you managed to fix it, please create a PR.
  • If you are familiar with another CSS frameworks (like Foundation, Pure..), please create a PR and add it (see BootstrapFramework.php file).

Docs