2024-01-27 06:28:15 +01:00
|
|
|
## About
|
|
|
|
|
2024-01-29 01:26:51 +01:00
|
|
|
tail.css provides _a small subset_ of
|
2024-01-27 06:28:15 +01:00
|
|
|
[tailwind](https://tailwindcss.com/)
|
|
|
|
that has been extracted from a hobby project. A prebuilt copy of
|
|
|
|
[dist/tail.css](dist/tail.css)
|
2024-02-01 13:31:46 +01:00
|
|
|
is provided in case you don't have access to the nodejs sass compiler,
|
2024-01-27 06:28:15 +01:00
|
|
|
along with a minimized copy
|
|
|
|
([dist/tail.min.css](dist/tail.min.css)).
|
2024-02-01 13:31:46 +01:00
|
|
|
There are gzip-compressed copies of those files included in
|
|
|
|
[dist/](dist/)
|
2024-02-01 13:37:33 +01:00
|
|
|
... `tail.css.min.gz` weighs in at around 8.5KB.
|
2024-01-27 06:28:15 +01:00
|
|
|
|
2024-01-27 07:25:27 +01:00
|
|
|
## Why ?
|
|
|
|
|
|
|
|
I found it to be near impossible to use tailwind without a nodejs
|
|
|
|
environment. But not every project I work on has nodejs available.
|
|
|
|
That's why I decided to build a vanilla CSS file I could include
|
|
|
|
in any project - with or without nodejs.
|
|
|
|
|
2024-01-27 06:28:15 +01:00
|
|
|
## Build
|
|
|
|
|
2024-01-28 07:39:56 +01:00
|
|
|
Custom builds provide a way to customize what features are
|
|
|
|
included in a build. The `@import` directives in [src/](src/)
|
|
|
|
decide what features to include:
|
|
|
|
|
2024-02-01 13:31:46 +01:00
|
|
|
$ npm install -g sass
|
2024-01-27 06:28:15 +01:00
|
|
|
$ bin/build
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
2024-02-01 13:31:46 +01:00
|
|
|
Copyright of src/tail/ belongs to the
|
2024-01-27 06:28:15 +01:00
|
|
|
[tailwind project](https://tailwindcss.com/).
|
2024-01-27 06:45:14 +01:00
|
|
|
<br>
|
2024-01-27 06:44:14 +01:00
|
|
|
See [tailwindcss/LICENSE](https://github.com/tailwindlabs/tailwindcss/blob/master/LICENSE).
|
2024-02-01 13:31:46 +01:00
|
|
|
|
|
|
|
Copyright of src/normalize/ belongs to the
|
|
|
|
[normalize.css project](https://raw.githubusercontent.com/necolas/normalize.css).
|
|
|
|
<br>
|
|
|
|
See [normalize/LICENSE.md](https://github.com/necolas/normalize.css/blob/master/LICENSE.md).
|