Skip to content

Standalone build of TailwindCSS that runs in browser.

License

Notifications You must be signed in to change notification settings

showdownspace/tailwindcss-standalone

This branch is 6 commits ahead of egoist/tailwindcss-standalone:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

00ed13e · Apr 2, 2024

History

14 Commits
Apr 2, 2024
Apr 2, 2024
Mar 21, 2020
Mar 22, 2020
Mar 21, 2020
Apr 2, 2024
Apr 2, 2024
Apr 2, 2024
Apr 2, 2024
Mar 21, 2020
Apr 2, 2024
Mar 21, 2020
Apr 2, 2024
Apr 2, 2024
Apr 2, 2024
Apr 2, 2024

Repository files navigation

tailwindcss-standalone

unpkg size jsdelivr

Standalone build of tailwindcss that runs in browser.

Usage

<script src="https://unpkg.com/tailwindcss-standalone"></script>

<script>
  tailwindcss({
    // optional tailwind config
  })
    .process(
      `
@tailwind base;
@tailwind components;
@tailwind utilities;

body {
  @apply bg-red-500;
}
`
    )
    .then(result => {
      console.log(result.css);
    });
</script>

Edit frosty-pike-uyhoj

You can also use it with bundler:

import tailwindcss from 'tailwindcss-standalone'

License

MIT.

About

Standalone build of TailwindCSS that runs in browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.3%
  • HTML 5.7%