A subset of tailwind as pure CSS
Find a file
2024-03-13 22:22:38 -03:00
bin Prefer the nodejs sass compiler 2024-02-01 09:34:02 -03:00
dist Regen dist/ 2024-02-28 14:18:06 -03:00
src Rename files after property names 2024-02-29 23:59:47 -03:00
.gitignore First commit 2024-01-27 02:28:15 -03:00
.projectile First commit 2024-01-27 02:28:15 -03:00
LICENSE Add LICENSE 2024-03-13 22:22:38 -03:00
README.md Add LICENSE 2024-03-13 22:22:38 -03:00
VERSION v0.1.1 2024-03-13 22:22:38 -03:00

About

tail.css provides a small subset of tailwind that was originally extracted from a hobby project. A prebuilt copy of dist/tail.css is provided in case you don't have access to the nodejs sass compiler, along with a minimized copy (dist/tail.min.css). There are gzip-compressed copies of those files included in dist/ ... tail.css.min.gz weighs in at around 8.5KB.

Rationale

The motivation behind this project is to be able to use tailwind without a nodejs environment. You can use tail.css within a vanilla CSS environment, or within an environment that uses sass. Most of the time I use tail.css within a sass environment, and sprinkle small amounts of CSS on top.

Build

Custom builds provide a way to customize what features are included in a build. The @import directives in src/ decide what features to include:

$ npm install -g sass
$ bin/build

License

Copyright of src/tail/ belongs to the tailwind project.
See tailwindcss/LICENSE.

Copyright of src/normalize/ belongs to the normalize.css project.
See normalize/LICENSE.md.

The remaining copyright is covered by the 0BSD License.
See ./LICENSE.