vue实现简洁清爽的待办事项代码
代码语言:html
所属分类:其他
代码描述:vue实现简洁清爽的待办事项代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> @import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap"); * { box-sizing: border-box; } :root { --checkbox-color: #7733ff; --checkbox-shadow: hsl(260deg 100% 80% / 25%); --add-button: #ee9ca7; --add-button-shadow: rgba(238, 156, 167, 0.4); } body { width: 100%; height: 100vh; margin: 0; padding: 16px; display: flex; justify-content: center; align-items: center; background-image: radial-gradient(#ddccff, #9966ff, #7733ff); background-blend-mode: normal, lighten, multiply, hard-light; font-family: "DM Sans", sans-serif; overflow: hidden; background: url('//repo.bfw.wiki/bfwrepo/image/638847feeeebb.png'); background-size: cover; background-position: 50% 50%; } input { outline: none; } ul { list-style: none; padding: 0; } .app-container { border-radius: 8px; width: 100%; max-width: 480px; max-height: 100%; background-color: #10101d; padding: 24px; overflow: auto; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 6px 5px -5px rgba(0, 0, 0, 0.5), 0 7px 0 -2px #1e1e1e, 0 11px 5px -5px rgba(0, 0, 0, 0.5), 0 13px 0 -4px rgba(30, 30, 30, 0.7), 0 16px 5px -5px rgba(0, 0, 0, 0.5), 0 20px 0 -8px rgba(30, 30, 30, 0.5), 0 15px 0 5px #000, 0 0 0 5px #000; } .app-header { font-size: 24px; line-height: 32px; margin: 0 0 12px 0; color: #fff; font-family: "Roboto"; font-weight: 800; } .submit-task { width: 32px; height: 32px; flex-shrink: 0; border: none; background: var(--add-button); color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-plus'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E"), linear-gradient(#1e1e1e, #4d4d4d); /*background-size: 18px;*/ background-position: center; background-repeat: no-repeat; border-radius: 50%; cursor: pointer; box-shadow: 0 -2.5px 4px 1px rgba(255, 255, 255, 0.15), 0 0 0 2.5px #1c1e1f, 0 0 0 4px #000, 0 3px 5px 3.5px rgba(0, 0, 0, 0.5), 0 1px 5px 2.5px #282d2f, 0 0 0 6px #1a1c1e, 0 1px 1px 5px rgba(255, 255, 255, 0.5); } .add-task { height: 40px; font-size: 14px; display: flex; } .task-input { border-right: none; width: 100%; padding: 0 4px; outline: none; border: none; border-bottom: 1px solid #fff; background-color: transparent; margin-right: 12px; color: #fff; box-shadow: none; border-radius: 0; font-family: "Roboto"; font-size: 11pt; letter-spacing: 0.25px; font-weight: 300; } .task-input:placeholder { color: #fff; } .task-list-item { background: linear-gradient(to bottom, #f73c82 0%, #c21063 100%); border-radius: 4px; margin-bottom: 12px; display: flex; align-items: center; padding: 8px; /*border: rgba(100%, 100%, 100%, 0.3) 0.1em solid;*/ background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(3em); backdrop-filter: blur(3em); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), inset 0px -0.25px 1px 0.25px rgba(255, 255, 255, 0.1), 0 5px 5px -5px rgba(0, 0, 0, 0.5), 0 11px 5px -5px rgba(0, 0, 0, 0.5), 0 11px 5px -5px rgba(0, 0, 0, 0.5), 0 1px 0 2.5px #000, 0 0 0 2.5px #000; } .task-list-item input { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='fea.........完整代码请登录后点击上方下载按钮下载查看
网友评论0