|
1 | | -[](https://app.netlify.com/sites/shortstax/deploys) |
2 | | - |
3 | | -### CSS |
4 | | -[PostCSS](https://postcss.org) to **bundle**, **import from NPM, local or remote URLs**, handy [easings](https://easings.net), plus [postcss-preset-env](https://preset-env.cssdb.org/) for **latest CSS features**. |
5 | | - |
6 | | -### JS |
7 | | -[Rollup](https://rollupjs.org) to **bundle**, **treeshake**, **import from NPM, local or remote URLs**, **import processed CSS**, plus [babel-preset-env](https://babeljs.io/docs/en/babel-preset-env) for **latest JS features**. |
8 | | - |
9 | | -### Servers |
10 | | -[Browsersync](https://www.browsersync.io) with all the goodies for local dev: **live reload**, **hot swap CSS**, **scroll syncing**, **remote debugging**, [etc](https://www.browsersync.io). Prod server is just a static server. |
| 1 | +<p align="center"> |
| 2 | +<a href="https://transition.style" target="_blank"> |
| 3 | +<img src="https://storage.googleapis.com/atoms-sandbox.google.com.a.appspot.com/transition-css-right.png" style="max-width: 480px; width: 100%; height: auto;" /> |
| 4 | +</a> |
| 5 | +</p> |
11 | 6 |
|
12 | | -<br> |
13 | | - |
14 | | -> Watch me break it down on [YouTube!](https://links.argyle.ink/shortstack) |
15 | | -
|
16 | | -<br><br> |
| 7 | +[](https://app.netlify.com/sites/shortstax/deploys) |
17 | 8 |
|
18 | | -## Getting Started |
19 | | -[use this as a Github template](https://github.com/argyleink/shortstack/generate) |
| 9 | +### Just-add-water CSS clip-path transitions |
20 | 10 |
|
21 | | -OR |
22 | 11 |
|
23 | | -#### Clone Shortstack into a new folder |
24 | | -1. `mkdir new-project-name && cd $_` |
25 | | -1. `git clone --depth=1 https://github.com/argyleink/shortstack.git . && rm -rf ./.git` |
26 | 12 |
|
27 | | -OR (essentially the same thing with npx+degit) |
| 13 | +#### Installation |
| 14 | +1. `npm i transition-css` |
| 15 | +1. TODO: CDN `https://cdnjs.cloudflare.com/ajax/libs/transition.css/1.0.0/transition.min.css` |
28 | 16 |
|
29 | | -1. `npx degit argyleink/shortstack#main` |
| 17 | +#### Usage |
| 18 | +After `transition.css` has been added to your project, add an attribute to an element: |
30 | 19 |
|
31 | | -#### Install tools and spin it up |
32 | | -1. `npm i` |
33 | | -1. `npm start` |
| 20 | +```html |
| 21 | +<div transition="in:circle:bottom-right">A transitioned element</div> |
| 22 | +``` |
34 | 23 |
|
35 | 24 | <br><br> |
36 | 25 |
|
|
0 commit comments