dragula+css实现模仿Docket的待办事项应用代码
代码语言:html
所属分类:布局界面
代码描述:dragula+css实现模仿Docket的待办事项应用代码,分为待办、办理中、已经完成、垃圾箱四类,可以新增待办,可以拖拽四个状态类别的文字改变状态。
代码标签: dragula css 模仿Docket 待办事项 应用 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css?family=Arimo:400,700|Roboto+Slab:400,700");
:root {
font-size: calc(0.5vw + 1vh);
}
* {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
body {
min-width: 420px;
background: #060818;
color: #fff;
background: linear-gradient(15deg, #d33f34 50%, #a61322 50.1%);
height: 100vh;
scale: 0.1;
animation: zoom-in 1s normal forwards ease-in-out;
}
@keyframes zoom-in {
0% {
scale: 0.1;
}
100% {
scale: 1;
}
}
h1,
h4 {
font-family: "Arimo", sans-serif;
line-height: 1.3;
}
header h1 {
font-size: 5.4rem;
margin: 4rem auto;
}
span {
font-size: 3rem;
}
p {
font-family: "Roboto Slab", serif;
}
a,
a:link,
a:active,
a:visited {
color: #0066aa;
text-decoration: none;
border-bottom: #000013 0.16rem solid;
}
a:hover {
color: #000013;
border-bottom: #0066aa 0.16rem solid;
}
header,
footer {
width: 40rem;
margin: 2rem auto;
text-align: center;
}
.add-task-container {
width: 50%;
justify-content: space-between;
display: flex;
margin: 0 auto;
padding: 10px;
position: relative;
background: #0e1726;
overflow: hidden;
border-radius: 10px;
border: 1px solid #1b2e4b;
box-shadow: 18px 20px 10.3px -23px rgb(0 0 0 / 15%);
font-size: 18px;
}
.main-co.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0