[vue] todoList,待办项列表实现
来源:互联网 发布:宁国市房地产数据 编辑:程序博客网 时间:2024/06/07 02:04
直接上图吧!
然后上代码啦!
.todos{ width:500px; margin:0 auto; position:relative; } h1{ font-size:96px; color:rgba(175, 47, 47, 0.15); } header{ width:100%; } header .new-todo{ box-sizing:border-box; width:100%; height:60px; padding:0 15px; font-size:20px; border:1px solid #cdcdcd; } section{ width:100%; box-sizing:border-box; margin-top:-2px; } section ul{ list-style:none; margin:0; padding:0; vertical-align:center; } section ul li{ border:1px solid #cdcdcd; line-height:50px; padding:0 15px; margin-top:-1px; } section ul li div{ position:relative; } section ul li input[type='checkbox']{ text-align:center; outline:none; -webkit-appearance: none; cursor:pointer; } section ul li input[type='checkbox']:before{ content: "☆"; font-size:20px; } section ul li input[type='checkbox']:checked:before{ content: "★"; font-size:20px; } section ul li label{ margin-left:30px; color:#000; } .unactive{ color:#888; text-decoration:line-through; } section ul li .clear-todo{ position:absolute; height:40px; width:40px; margin:auto 0; top:0; bottom:0; right:0; background:transparent; border:none; outline:none; cursor:pointer; } section ul li input[type='text']{ position: relative; width: 100%; height: 30px; text-align: center; display: none; margin-left:30px; } footer{ box-sizing:border-box; border:1px solid #cdcdcd; width:100%; height:40px; padding:0 15px; margin-top:-1px; font-size:14px; color:#666; } footer span{ float:left; text-align:left; width:30%; line-height:40px; } footer ul{ list-style:none; float:left; margin:0; padding:0; line-height:40px; } footer ul li{ float:left; margin-right:10px; } footer a{ text-decoration:none; color:#666; padding:3px 6px; border:1px solid transparent; } footer a:hover,footer a:focus{ border:1px solid rgba(175, 47, 47, 0.15); border-radius:5px; } .currentState{ border:1px solid rgba(175, 47, 47, 0.15); border-radius:5px; }todos
阅读全文
0 0
- [vue] todoList,待办项列表实现
- React+Redux实现简单的待办事项列表ToDoList
- React+Redux实现简单的待办事项列表ToDoList
- Vue实现简单ToDoList
- vue实现todolist的demo
- 二四、vue实现todolist
- vue.js实现简单todolist
- Vue入门02-vue实现ToDoList
- vue---todolist
- vue实现简易留言板(todolist)
- flask + vue.js 实现简单todolist应用
- vue-todolist-demo
- Vue之ToDoList实战
- vue.js实例todoList
- Vue之todoList
- vue-简单的todolist
- vue写todolist
- ToDoList(Vue示例)
- 全球地区选择,支持中英文切换。国家-省市-城市-地区
- 结构体中访问成员点操作符和箭头操作符的区别
- 菜鸟如何成为一个高效程序员的成长之路
- jni函数参数
- 深度学习中的Batch Normalization
- [vue] todoList,待办项列表实现
- c++ 数字与字符串的相互转换
- 【每日一题】替换字符串中的空格为$$$。要求时间复杂度为O(N)
- React Native Android打包apk
- 分别用递归和非递归方式实现二叉树先序、中序和后序遍历(java实现)
- IBM
- 解读NSString之性能分析
- JSP中session与cookie的区别
- 如何编写自己的PHP MVC 框架