-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (33 loc) · 1.62 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.tailwindcss.com"></script>
<script type="text/javascript" src="./index.js" defer=""></script>
<link rel="stylesheet" href="./index.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<title>To do List</title>
</head>
<body>
<div class="w-3/4 max-w-[370px] mx-auto">
<form class="bg-white py-6 px-4 rounded shadow mt-32">
<div class="w-full text-right">
<!-- <label class="block uppercase text-xs text-gray-600 font-bold mb-2 sr-only" for="input-add">Adicionar
item</label> -->
<input class="
block w-full border
bg-gray-50 border-gray-200
rounded py-2 px-4 leading-tight
focus:bg-white
focus:border-gray-500
focus:outline-none" id="input-add" placeholder="Adicionar Item">
<small class="text-red-500 font-semibold">Max: <span id="countChars">35</span> characters</small>
</div>
<!-- <button class="mt-2 py-2 flex items-center justify-center bg-blue-300 rounded w-full "><i class="tiny material-icons">add_circle</i>Add</button> -->
<button class="mt-2 py-2 flex items-center justify-center bg-blue-500 rounded w-full font-semibold text-white" id="add_item">Adicionar</button>
</form>
<ul class="border border-gray-200 rounded overflow-hidden shadow">
<!-- <li class="px-4 py-2 bg-white hover:bg-sky-100 hover:text-sky-900 border-b last:border-none border-gray-200 transition-all duration-300 ease-in-out flex justify-between"><span>Item</span><button class="text-red-700 delete">ⅹ</button></li> -->
</ul>
</div>
</body>
</html>