Skip to content

Commit b26e825

Browse files
fix css
0 parents  commit b26e825

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+12701
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
yarn.lock

.vscode/extensions.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["bradlc.vscode-tailwindcss"]
3+
}

README.md

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Tailwind CSS Playground
2+
3+
A simple starter project for playing around with Tailwind in a proper PostCSS environment.
4+
5+
To get started:
6+
7+
1. Clone the repository:
8+
9+
```bash
10+
git clone https://github.com/tailwindcss/playground.git tailwindcss-playground
11+
12+
cd tailwindcss-playground
13+
14+
```
15+
16+
2. Install the dependencies:
17+
18+
```bash
19+
# Using npm
20+
npm install
21+
22+
# Using Yarn
23+
yarn install
24+
```
25+
26+
3. Start the development server:
27+
28+
```bash
29+
# Using npm
30+
npm run serve
31+
32+
# Using Yarn
33+
yarn serve
34+
```
35+
36+
Now you should be able to see the project running at localhost:8080.
37+
38+
4. Open `public/index.html` in your editor and start experimenting!
39+
40+
## Play with it on CodeSandbox
41+
42+
A CodeSandbox version of this playground [is one click away](https://codesandbox.io/s/github/tailwindcss/playground/tree/master)!
43+
44+
## Building for production
45+
46+
Even though this isn't necessarily a starter kit for a proper project, we've included an example of setting up [cssnano](https://cssnano.co/) to optimize your CSS for production.
47+
48+
To build an optimized version of your CSS, simply run:
49+
50+
```bash
51+
# Using npm
52+
npm run production
53+
54+
# Using Yarn
55+
yarn production
56+
```
57+
58+
After that's done, check out `./public/build/tailwind.css` to see the optimized output.

css/main.css

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
@tailwind base;
3+
@tailwind components;
4+
@tailwind utilities;

0 commit comments

Comments
 (0)