Skip to content
This repository was archived by the owner on Sep 11, 2021. It is now read-only.

Commit ce78386

Browse files
committed
Add form-multiselect
1 parent fa9a291 commit ce78386

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

public/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@
2929
<option>Option 2</option>
3030
</select>
3131
</label>
32+
<label class="block mt-6">
33+
<span class="text-gray-700">Multiselect</span>
34+
<select class="form-input block w-full mt-1" multiple>
35+
<option>Option 1</option>
36+
<option>Option 2</option>
37+
<option>Option 3</option>
38+
<option>Option 4</option>
39+
<option>Option 5</option>
40+
</select>
41+
</label>
3242
</div>
3343
<div class="w-1/2 px-6">
3444
<div class="block">

tailwind.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module.exports = {
7171
backgroundRepeat: 'no-repeat',
7272
},
7373
},
74-
'.form-input, .form-textarea': {
74+
'.form-input, .form-textarea, .form-multiselect': {
7575
backgroundColor: '#fff',
7676
borderWidth: theme('borderWidth.default', defaultTheme.borderWidth.default),
7777
borderRadius: theme('borderRadius.default', defaultTheme.borderRadius.default),

0 commit comments

Comments
 (0)