-
Notifications
You must be signed in to change notification settings - Fork 1
/
buttons.html
349 lines (336 loc) · 35.6 KB
/
buttons.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/white-uicss@1.0.3/white-uicss.min.css" />
<link rel="stylesheet" href="./css/index.add.css" />
<title>White-UI | Buttons component</title>
</head>
<body class="w-100 button-section">
<!-- Navbar -->
<div class="navbar bg-secondary text-white white-ui">
<nav class="container">
<a href="./index.html">
<h1 class="site-title display-f align-items-center">
<div class="bg-white text-secondary p-1">W</div>
-UICSS
</h1>
</a>
<button id="menu" class="menu display-f align-items-center">|||||</button>
<ul class="display-f">
<li>
Version 1.0.1
</li>
</ul>
</nav>
</div>
<!-- Navbar ends here -->
<!-- Main body starts here -->
<div class="w-100">
<div class="display-f">
<!-- Sidenavbar starts here -->
<div class="side-bar flex-1 bg-secondary-light-9 p-1 pl-2" id="menus">
<ul class="display-f flex-direction-column w-100">
<li class="font-bold font-md mb-2">
Get Started
<ul class="ml-1 font-normal text-gray">
<li class="mt-1"><a href="get-started.html" class="text-black">Introduction</a></li>
<li class="mt-1"><a href="download-source-code.html">Download</a></li>
<li class="mt-1"><a href="explore.html">Explore</a></li>
</ul>
</li>
<li class="font-bold font-md mb-2">
Layouts
<ul class="ml-1 font-normal text-gray">
<li class="mt-1"><a href="grid.html">Grid</a></li>
<li class="mt-1"><a href="container.html">container</a></li>
<li class="mt-1"><a href="breakpoint.html">BreakPoints</a></li>
</ul>
</li>
<li class="font-bold font-md mb-2">
Components
<ul class="ml-1 font-normal text-gray">
<li class="mt-1"><a href="buttons.html">Buttons</a></li>
<li class="mt-1"><a href="cards.html">Card</a></li>
<li class="mt-1"><a href="navbars.html">Navbar</a></li>
</ul>
</li>
<li class="font-bold font-md mb-2">
Forms
<ul class="ml-1 font-normal text-gray">
<!-- <li class="mt-1"><a href="#">Overview</a></li> -->
<li class="mt-1"><a href="forms.html">Inputs</a></li>
<!-- <li class="mt-1"><a href="https://github.com/The-white-ui/Frontend" target="_blank"
rel="noopener noreferrer">Validation</a></li> -->
</ul>
</li>
<li class="font-bold font-md mb-2">
Github
<ul class="ml-1 font-normal text-gray">
<li class="mt-1"><a href="https://github.com/The-white-ui/.github/blob/main/profile/README.md"
target="_blank" rel="noopener noreferrer">README</a></li>
<li class="mt-1"><a href="#">Contributors</a></li>
<li class="mt-1"><a href="https://github.com/The-white-ui/Frontend" target="_blank"
rel="noopener noreferrer">Contribute</a></li>
</ul>
</li>
</div>
<!-- Sidenavbar ends here-->
<!-- Content section starts here -->
<div class="flex-4">
<div class="container mt-2">
<div class="content w-75">
<div>
<!-- Button description -->
<header>
<h1 class="font-lg font-bold">Buttons</h1>
<p class="font-normal mt-1 text-gray">
Use White-UI custom button styles in forms, and more with support for multiple sizes, background
color, and more.
</p>
</header>
<div class=" mt-5">
<!-- Example Buttons -->
<div>
<h1 class="font-lg font-xtra-bold mb-1">Example Buttons</h1>
<div class="card">
<a href="#" class="btn mb-1">Default</a>
<a href="#" class="btn-primary text-white mb-1">Primary</a>
<a href="#" class="btn-secondary text-white mb-1">Secondary</a>
<a href="#" class="btn-error text-white mb-1">Error</a>
<a href="#" class="btn-info mb-1">info</a>
<a href="#" class="btn-outlined-purple text-purple text-hover-white mb-1">Purple</a>
<a href="#" class="btn-outlined-orange text-orange text-hover-white mb-1">Orange</a>
<a href="#" class="btn-complement-yellow mb-1 br-none">Yellow</a>
</div>
</div>
<!-- Example button codes -->
<div class="bg-gray-light-9 mt-2 pt-1 pl-1 pr-1 display-f align-items-center setup-markup">
<!-- @Todo -->
<!-- <button class="btn btn-secondary">copy</button> -->
<pre class="language-markup">
<code class="language-markup">
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>button<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn <span class="text-gray">"</span></span><span class="text-gray">></span></span>default<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>button<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn btn-primary<span class="text-gray">"</span></span><span class="text-gray">></span></span>Click me<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>button<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn btn-secondary</span class="text-gray">"</span></span><span class="text-gray">></span></span>Click me<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>button<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn btn-error</span class="text-gray">"</span></span><span class="text-gray">></span></span>Click me<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>button<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn btn-info</span class="text-gray">"</span></span><span class="text-gray">></span></span>Click me<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>button<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn btn-outlined-purple</span class="text-gray">"</span></span><span class="text-gray">></span></span>Click me<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>button<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn btn-outlined-orange</span class="text-gray">"</span></span><span class="text-gray">></span></span>Click me<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>button<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn btn-complement-purple br-none</span class="text-gray">"</span></span><span class="text-gray">></span></span>Click me<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>button<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn btn-complement-primary br-none</span class="text-gray">"</span></span><span class="text-gray">></span></span>Click me<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
</code>
</pre>
</div>
</div>
</div>
<div>
<!-- Button Tags -->
<header>
<h1 class="font-lg font-bold mt-3">Button tags</h1>
<p class="font-normal mt-1">
The <code class="text-red">.btn</code> classes are designed to be used with the <code
class="text-red"><button></code> element. However, you can also use these classes on <code
class="text-red"><a></code> or <code class="text-red"><input/></code> elements (though
some browsers may apply a slightly different rendering).
When using button classes on <code class="text-red"><a></code> elements that are used to trigger
in-page functionality (like collapsing content), rather than linking to new pages or sections within
the current page, these links should be given a <code
class="text-red">role<span class="text-gray">="</span>button<span class="text-gray">"</span></code>
to appropriately convey their purpose to assistive technologies such as screen readers.
</p>
</header>
<!-- Button tags examples -->
<div class=" mt-2">
<div>
<div class="card">
<a href="#" class="btn-secondary text-white mb-1">Link</a>
<button type="submit" class="btn-secondary text-white mb-1">Button</button>
<input type="button" class="btn-secondary text-white mb-1" value="Input" />
<input type="submit" class="btn-secondary text-white mb-1" value="Submit" />
<input type="reset" class="btn-secondary text-white mb-1" value="Reset" />
</div>
</div>
<!-- Button tags codes -->
<div class="bg-gray-light-9 mt-2 pt-1 pl-1 pr-1 display-f align-items-center setup-markup">
<!-- @Todo -->
<!-- <button class="btn btn-secondary">copy</button> -->
<pre class="language-markup">
<code class="language-markup">
<span><span class="token tag"><span class="text-red"><span><</span>a</span> <span class="text-secondary">href</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>#<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-secondary text-white <span class="text-gray">"</span></span><span class="text-gray">></span></span>Link<span class="text-red"><span class="text-red"><span class="text-gray"></</span>a</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-secondary text-white <span class="text-gray">"</span></span><span class="text-gray">></span></span>Button<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>input</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>button<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-secondary text-white </span class="text-gray">"</span></span> <span class="text-gray"></span></span><span class="text-secondary">value</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>Input</span class="text-gray">"</span></span><span class="text-gray"></span></span><span class="text-red"><span class="text-red"><span class="text-gray">/</span></span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>input</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-secondary text-white </span class="text-gray">"</span></span> <span class="text-gray"></span></span><span class="text-secondary">value</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>Submit</span class="text-gray">"</span></span><span class="text-gray"></span></span><span class="text-red"><span class="text-red"><span class="text-gray">/</span></span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>input</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>reset<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-secondary text-white </span class="text-gray">"</span></span> <span class="text-gray"></span></span><span class="text-secondary">value</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>Reset</span class="text-gray">"</span></span><span class="text-gray"></span></span><span class="text-red"><span class="text-red"><span class="text-gray">/</span></span><span class="text-gray">></span></span></span>
</code>
</pre>
</div>
</div>
</div>
<div>
<!-- Button Outline -->
<header>
<h1 class="font-lg font-bold mt-3">Outline buttons</h1>
<p class="font-normal mt-1">
In need of a button, but not the hefty background colors they bring? Replace the default modifier
classes
with the <code class="text-red">.btn-outline-*</code> classes are designed to be used with the <code
class="text-red"><button></code> element.
</p>
</header>
<!-- Example of Outlined button -->
<div class="mt-2">
<div>
<div class="card">
<button type="submit"
class="btn-outlined-secondary text-secondary text-hover-white mb-1">Secondary</button>
<button type="submit"
class="btn-outlined-primary text-primary text-hover-white mb-1">Primary</button>
<button type="submit" class="btn-outlined-purple text-purple text-hover-white mb-1">Purple</button>
<button type="submit" class="btn-outlined-yellow text-yellow text-hover-white mb-1">Yellow</button>
<button type="submit" class="btn-outlined-black text-black text-hover-white mb-1">Black</button>
<button type="submit" class="btn-outlined-info text-info text-hover-white mb-1">Info</button>
<button type="submit" class="btn-outlined-red text-red text-hover-white mb-1">Red</button>
</div>
</div>
<!-- Code of button Outlined -->
<div class="bg-gray-light-9 mt-2 pt-1 pl-1 pr-1 display-f align-items-center setup-markup">
<!-- @Todo -->
<!-- <button class="btn btn-secondary">copy</button> -->
<pre class="language-markup">
<code class="language-markup">
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-outlined-secondary text-secondary text-hover-white <span class="text-gray">"</span></span><span class="text-gray">></span></span>Secondary<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-outlined-primary text-primary text-hover-white <span class="text-gray">"</span></span><span class="text-gray">></span></span>Primary<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-outlined-purple text-purple text-hover-white <span class="text-gray">"</span></span><span class="text-gray">></span></span>Purple<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-outlined-yellow text-yellow text-hover-white <span class="text-gray">"</span></span><span class="text-gray">></span></span>Yellow<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-outlined-black text-balck text-hover-white <span class="text-gray">"</span></span><span class="text-gray">></span></span>Balck<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-outlined-info text-info text-hover-white <span class="text-gray">"</span></span><span class="text-gray">></span></span>Info<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-outlined-red text-red text-hover-white <span class="text-gray">"</span></span><span class="text-gray">></span></span>Red<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
</code>
</pre>
</div>
</div>
</div>
<div>
<!-- Complement Buttons -->
<header class="">
<h1 class="font-lg font-bold mt-3">Complement buttons</h1>
<p class="font-normal mt-1">
In need of a button to complement your project, Replace the default modifier classes
with the <code class="text-red">.btn-complement*</code> classes are designed to be used with the <code
class="text-red"><button></code> element.
</p>
</header>
<!-- Examples of complement buttons -->
<div class=" mt-2">
<div>
<div class="card">
<button type="submit" class="btn-complement-secondary mb-1">Secondary</button>
<button type="button" class="btn-complement-primary mb-1">Primary</button>
<button type="submit" class="btn-complement-purple mb-1">Purple</button>
<button type="reset" class="btn-complement-yellow mb-1">Yellow</button>
<button type="reset" class="btn-complement-black mb-1">Black</button>
<button type="reset" class="btn-complement-info mb-1">Info</button>
<button type="reset" class="btn-complement-red mb-1">Red</button>
</div>
</div>
<!-- Codes of Buttons Outline -->
<div class="bg-gray-light-9 mt-2 pt-1 pl-1 pr-1 display-f align-items-center setup-markup">
<!-- @Todo -->
<!-- <button class="btn btn-secondary">copy</button> -->
<pre class="language-markup">
<code class="language-markup">
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-complement-secondary <span class="text-gray">"</span></span><span class="text-gray">></span></span>Secondary<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-complement-primary <span class="text-gray">"</span></span><span class="text-gray">></span></span>Primary<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-complement-purple <span class="text-gray">"</span></span><span class="text-gray">></span></span>Purple<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-complement-yellow <span class="text-gray">"</span></span><span class="text-gray">></span></span>Yellow<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-complement-black <span class="text-gray">"</span></span><span class="text-gray">></span></span>Black<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-complement-info <span class="text-gray">"</span></span><span class="text-gray">></span></span>Info<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
<span><span class="token tag"><span class="text-red"><span><</span>button</span> <span class="text-secondary">type</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>submit<span class="text-gray">"</span></span> <span class="text-secondary">class</span><span class="text-blue"><span class="text-gray">=</span><span class="text-gray">"</span>btn-complement-red <span class="text-gray">"</span></span><span class="text-gray">></span></span>Red<span class="text-red"><span class="text-red"><span class="text-gray"></</span>button</span><span class="text-gray">></span></span></span>
</code>
</pre>
</div>
</div>
</div>
<div>
<!-- Buttton Classes -->
<header>
<h1 class="font-lg font-bold mt-3">Buttons Class</h1>
<p class="font-normal mt-1">
Available buttons classes that you can modify with your website by adding its to your <span
class="text-red"><button <span class="text-blue">class=""</span>></span> class name. Available
classes are:
</p>
</header>
<div class=" mt-2">
<div class="bg-gray-light-9 mt-2 pt-1 pl-1 pr-1 display-f align-items-center setup-markup">
<pre class="language-markup">
<code class="language-markup">
<div class="row">
<div class="col-6-sm col-4-md col-4-lg">
<code class="text-gray">.btn</code>
<code class="text-primary">.btn-primary</code>
<code class="text-secondary">.btn-secondary</code>
<code class="text-info">.btn-info</code>
<code class="text-error">.btn-error</code>
<code class="text-blue">.btn-blue</code>
<code class="text-yellow">.btn-yellow</code>
<code class="text-red">.btn-red</code>
<code class="text-green">.btn-green</code>
<code class="text-orange">.btn-orange</code>
<code class="text-purple">.btn-purple</code>
<code class="text-gray">.btn-gray</code>
<code class="text-black">.btn-black</code>
<code class="text-white">.btn-white</code>
</div>
<div class="col-6-sm col-4-md col-4-lg">
<code class="text-primary">.btn-complement-primary</code>
<code class="text-secondary">.btn-complement-secondary</code>
<code class="text-info">.btn-complement-info</code>
<code class="text-error">.btn-complement-error</code>
<code class="text-blue">.btn-complement-blue</code>
<code class="text-yellow">.btn-complement-yellow</code>
<code class="text-red">.btn-complement-red</code>
<code class="text-green">.btn-complement-green</code>
<code class="text-orange">.btn-complement-orange</code>
<code class="text-purple">.btn-complement-purple</code>
<code class="text-gray">.btn-complement-gray</code>
<code class="text-black">.btn-complement-black</code>
<code class="text-white">.btn-complement-white</code>
</div>
<div class="col-6-sm col-4-md col-4-lg">
<code class="text-primary">.btn-outlined-primary</code>
<code class="text-secondary">.btn-outlined-secondary</code>
<code class="text-info">.btn-outlined-info</code>
<code class="text-error">.btn-outlined-error</code>
<code class="text-blue">.btn-outlined-blue</code>
<code class="text-yellow">.btn-outlined-yellow</code>
<code class="text-red">.btn-outlined-red</code>
<code class="text-green">.btn-outlined-green</code>
<code class="text-orange">.btn-outlined-orange</code>
<code class="text-purple">.btn-outlined-purple</code>
<code class="text-gray">.btn-outlined-gray</code>
<code class="text-black">.btn-outlined-black</code>
<code class="text-white">.btn-outlined-white</code>
</div>
</div>
</code>
</pre>
</div>
</div>
<a href="https://github.com/The-white-ui/Frontend" target="_blank" rel="noopener noreferrer">
<button type="button" class="btn btn-outlined-black text-hover-white mt-3 mb-5">Edit on Github</button>
</a>
</div>
</div>
</div>
</div>
<!-- content section ends here -->
</div>
</div>
<!-- main body ends here -->
<script src="https://cdn.jsdelivr.net/npm/white-uicss@1.0.3/white-uicss.min.js"></script>
</body>
</html>