tail.css/README.md

47 lines
1.5 KiB
Markdown
Raw Normal View History

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/)
2024-03-14 00:41:58 +01:00
that was originally extracted from a hobby project. A prebuilt copy of
2024-01-27 06:28:15 +01:00
[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-03-14 00:41:58 +01:00
## Rationale
2024-01-27 07:25:27 +01:00
2024-03-14 00:41:58 +01:00
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](https://sass-lang.com).
Most of the time I use tail.css within a sass environment, and
sprinkle small amounts of CSS on top.
2024-01-27 07:25:27 +01:00
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).
2024-03-14 02:12:01 +01:00
The remaining copyright is covered by the [0BSD License](https://choosealicense.com/licenses/0bsd/).
<br>
See [./LICENSE](./LICENSE).