原生js+css实现彩色便签纸条带时间的代办事项代码
代码语言:html
所属分类:其他
代码描述:原生js+css实现彩色便签纸条带时间的代办事项代码
代码标签: 原生 js css 彩色 便签 纸条 时间 代办 事项 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> * { box-sizing: border-box; font-weight: 300; margin: 0; padding: 0; font-family: 'Quicksand', sans-serif; } html { width: 100%; min-height: 100%; } body { background-color: #CAD6E5; width: 100%; min-height: 100%; } .wrapper { margin: 0 auto; padding: 100px 0 100px 0; width: 100%; height: 100%; } .main-container { background-color:#ffffff; width: 400px; height:auto; margin:auto; min-height: 100%; margin: 0 auto; box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1); overflow: hidden; border-radius: 8px; } .clearfix::after { content: ""; display: table; clear: both; } body { color: #555; font-size: 16px; position: relative; height: 100vh; font-weight: 400; } .right { float: right; } .red { color: #FF5049 !important; } .red-focus:focus { border: 1px solid #FF5049 !important; } /********************************************** *** TOP PART **********************************************/ .top { height: 150px; background: linear-gradient(to bottom, rgba(131, 56, 236, 0.8) 0%, rgba(131, 56, 236, 0.6) 100%), url(https://s7.postimg.org/yap5ueygr/back.png); position: relative; border-radius: 0 0 100% 100%; width: 140%; margin-left: -20%; z-index: 2; margin-bottom: 20px; } /* .top::before { content: ''; background-color: #f7f7f7; height: 200px; width: 100%; border-radius: 0; position: absolute; z-index: 0; } */ .title { position: absolute; width: 350px; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; } .title h1 { font-size: 26px; text-align: center; font-weight: 300; margin-bottom: 10px; font-family: 'Montserrat Alternates', Arial, sans-serif; } .title h2, .title h2 span{ font-size: 18px; text-align:.........完整代码请登录后点击上方下载按钮下载查看
网友评论0