js+css实现一个简洁的待办事项管理程序代码
代码语言:html
所属分类:布局界面
代码描述:js+css实现一个简洁的待办事项管理程序代码,做完的打钩,可以增删改。
代码标签: js css 简洁 待办 事项 管理 程序 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>优雅待办事项 - 增强版</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <style> * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); min-height: 100vh; display: flex; justify-content: center; align-items: center; padding: 20px; } .container { width: 100%; max-width: 500px; background: rgba(255, 255, 255, 0.95); border-radius: 20px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); overflow: hidden; } .header { background: linear-gradient(to right, #4776E6, #8E54E9); color: white; padding: 25px 20px; text-align: center; } .header h1 { font-size: 28px; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; } .header p { opacity: 0.9; font-size: 16px; } .input-section { padding: 20px; display: flex; gap: 10px; background: #f8f9fa; border-bottom: 1px solid #eaeaea; } #task-input { flex: 1; padding: 14px 18px; border: none; border-radius: 12px; font-size: 16px; background: white; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: all 0.3s ease; } #task-input:focus { outline: none; box-shadow: 0 2px 10px rgba(71, 118, 230, 0.3); } #add-btn { background: linear-gradient(to right, #4776E6, #8E54E9); color: white; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0