js实现一个备忘录待办事项效果代码
代码语言:html
所属分类:布局界面
代码描述:js实现一个备忘录待办事项效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> * { margin: 0; padding: 0; box-sizing: border-box; outline: none; } :root { --bc-main: #e3e3e3; --bc-wht: #fff; --bc-blk: #000; --primary-dark: #1a171d; --font: "Poppins", sans-serif; --font-ct: #b8b8b8; --ease: all 0.4s ease-in-out; } body { background-color: var(--bc-main); display: flex; align-items: center; justify-content: center; height: 100vh; } .dashboard { background-color: #0e0b11; height: 500px; width: 1000px; font-family: var(--font); display: flex; flex-direction: row; border-radius: 8px; overflow: hidden; } .dashboard-left { display: flex; flex-direction: column; justify-content: center; height: 100%; width: 35%; min-width: 344px; padding: 25px; background-color: var(--primary-dark); } .dashboard-right { position: relative; height: 100%; flex: 1; } .left-header h3 { color: #f8f8f8; font-size: 1.3em; } .left-task { display: flex; flex-direction: column; } .task-input { padding: 12px 15px; background-color: #f7f7f726; font-family: inherit; border: none; border-radius: 2px; color: var(--font-ct); margin-bottom: 0.5em; transition: var(--ease); } .task-input:focus { transition: var(--ease); background-color: var(--bc-wht); color: var(--primary-dark); } .task-label { color: #d2cfcf; font-family: in.........完整代码请登录后点击上方下载按钮下载查看
网友评论0