[Java教程]JavaScript jQuery 任务清单 ToDoList
0 2020-10-23 03:02:01
代码实现:
ToDoList.html(复制并保存为html文件,打开即可见效果):
ToDoList—最简单的待办事项列表ToDoList正在进行
已经完成
ToDoList.css:body { margin: 0; padding: 0; font-size: 16px; background: #CDCDCD;}header { height: 50px; background: #333; background: rgba(47, 47, 47, 0.98);}section { margin: 0 auto;}label { float: left; width: 100px; line-height: 50px; color: #DDD; font-size: 24px; cursor: pointer; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;}header input { float: right; width: 60%; height: 24px; margin-top: 12px; text-indent: 10px; border-radius: 5px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.24), 0 1px 6px rgba(0, 0, 0, 0.45) inset; border: none}input:focus { outline-width: 0}h2 { position: relative