css布局实现简洁待办事项待办工作ui布局效果代码

代码语言:html

所属分类:布局界面

代码描述:css布局实现简洁待办事项待办工作ui布局效果代码

代码标签: css 简洁 待办 事项 待办 工作 ui 布局

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en" >

<head>

 
<meta charset="UTF-8">

 
<link href='https://fonts.googleapis.com/css?family=Lato:400,300,100' rel='stylesheet' type='text/css'>
<link href="https://file.myfontastic.com/qUBUwJXJRtVZmUxLaXtXPY/icons.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Rock+Salt' rel='stylesheet' type='text/css'>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/normalize.css">
 
 
<style>
body,
html {
  height: 100%;
}
body {
  font-family: 'Lato', helvetica, sans-serif;
}
main {
  height: 100%;
}
main section {
  display: inline-block;
  vertical-align: top;
}
main section.todo {
  width: 60%;
  box-sizing: border-box;
  padding-left: 5vw;
  padding-right: 1rem;
  position: relative;
  padding-bottom: 5rem;
  /* background-color: white; */
}
main section.todo .todo__header {
  padding: 2rem 0;
  width: 100%;
  box-sizing: border-box;
}
main section.todo .todo__logo {
  font-family: 'Rock Salt', cursive;
  font-size: 1rem;
}
main section.todo .todo__logo span {
  color: #D01C1A;
}
main section.todo .todo__footer {
  padding: 1.5rem 0;
  position: absolute;
  bottom: 0;
  left: 5vw;
}
main section.todo .todo__menu {
  display: block;
  font-size: 1.5rem;
  cursor: pointer;
}
main section.todo .todo__grid .todo__row {
  width: 100%;
  margin-right: -1rem;
  margin-left: -1rem;
}
main section.todo .todo__grid .todo__row .todo__column {
  width: 50%;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  padding: 1rem;
}
main section.todo .todo__grid .todo__row .todo__column .todo__form {
  /* border-top: 4px solid @red; */
}
main section.todo .todo__grid .todo__row .todo__column .todo__form .todo__category i {
  background-color: #D01C1A;
  color: #FCF9FA;
  padding: 0.4rem 0.4rem 0.2rem;
  line-height: 1.5;
  margin: 0;
  font-size: 1.2rem;
  vertical-align: middle;
}
main section.todo .todo__grid .todo__row .todo__column .todo__form .todo__input {
  margin: 0;
  background-color: transparent;
  border: 0;
  vertical-align: middle;
  padding-left: 0.5rem;
  width: 80%;
}
main section.todo .todo__grid .todo__row .todo__column .todo__form .todo__list ul {
  padding-left: 2rem;
}
main section.todo .todo__grid .todo__row .todo__column .todo__form .todo__list li {
  list-style-type: none;
  line-height: 1.5;
}
main section.todo .todo__grid .todo__row .todo__column .todo__form .todo__list li:not(:last-child) {
  margin-bottom: 1rem;
}
main section.todo .todo__grid .todo__row .todo__column .todo__form .todo__list li ul {
  margin-top: 0.8rem;
}
main section.timer {
  width: 40%;
  color: #FCF9FA;
  height: 100%;
  position: fixed;
  right: 0;
  top: 0;
  background-color: #D01C1A;
  text-align: center;
}
main section.timer .timer__button {
  border: 0;
  background-color: transparent;
  /* padding: .8rem 1.5rem; */
  margin-left: 1rem;
}
main section.timer .timer__clock {
  font-size: 15vh;
  margin-top: 30vh;
  font-weight: 100;
  display: block;
  margin-bottom: 6vh;
}
main section.timer .timer__footer,
main section.timer .timer__header {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  box-sizing: border-box;
  font-weight: 300;
}
main section.timer .timer__header {
  bottom: auto;
  top: 0;
}
main section.timer .timer__link i {
  font-size: 1.5rem;
  line-height: 1;
}
main section.timer .timer__link:first-of-type {
  float: left;
}
main section.timer .timer__link:last-of-type {
  float: right;
}
button,
a,
input,
label[contenteditable="true"] {
  outline: none;
}
input[type=checkbox] {
  display: none;
}
input[type=checkbox] + label {
  display: inline-block;
  cursor: pointer;
  position: relative;
  padding-left: 25px;
  margin-right: 1rem;
  font-size: 1rem;
}
input[type=checkbox] + l.........完整代码请登录后点击上方下载按钮下载查看

网友评论0