-
Notifications
You must be signed in to change notification settings - Fork 2
/
Tailwind.html
83 lines (63 loc) · 1.85 KB
/
Tailwind.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!-- TAILWIND - CSS Framework - by Beumsk -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Tailwind</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- CSS Script; allows to modify the CSS config -->
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<div>
<h1>Tailwind</h1>
<h2>Layout</h2>
<div class="container"></div>
<div class="columns-3">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
<div class="block inline-block inline flex grid"></div>
<div class="inset-0 inset-x-0 inset-y-0 top-0 right-0 bottom-0 left-0"></div>
<h2>Flexbox and Grid</h2>
<div class="flex flex-row justify-center items-center gap-1">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
<div class="grid grid-cols-3 grid-rows-3 gap-1">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
<h2>Typography</h2>
<p class="text-xs text-base text-9xl">text</p>
<p class="font-thin font-normal font-bold">bold</p>
<p class="text-center">center</p>
<h2>Borders</h2>
<div class="border rounded">bordered</div>
<h2>Spacing</h2>
<!-- 0, 1px, 0.25rem -->
<div class="p-0 p-px p-1"></div>
<!-- margin, horizontal, vertical, top, right, bottom, left -->
<div class="m-1 mx-1 my-1 mt-1 mr-1 mb-1 ml-1"></div>
<div class="flex space-x-4 ...">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
<h2>Color</h2>
<p class="text-white bg-blue-500">white text on blue background</p>
<h2>Effects</h2>
<div class="shadow">shadow</div>
<h2>States</h2>
<p class="text-blue-500 hover:text-pink-500">pink on hover</p>
<h2>Responsive</h2>
<p class="text-xs md:text-base lg:text-xl">responsive text</p>
<h2>Sizing</h2>
<!-- 0, 1px, 100%, 100vh, none -->
<div class="w-0 h-px min-w-full min-h-screen max-w-none"></div>
</div>
</body>
</html>