From 82fe8571e576cf2fde2c0ffaa88f10a50d53089e Mon Sep 17 00:00:00 2001 From: lin-xin <2981207131@qq.com> Date: Sat, 29 Apr 2017 11:42:10 +0800 Subject: [PATCH] update drag-demo --- drag-demo/index.html | 20 +++++++++++++++++--- drag-demo/index.js | 5 +++++ 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/drag-demo/index.html b/drag-demo/index.html index bdff75c..ed0bbe8 100644 --- a/drag-demo/index.html +++ b/drag-demo/index.html @@ -10,9 +10,14 @@ margin: 0; padding: 0; } - .main{ + html,body{ + height: 100%; + } + #app{ + position: relative; width: 100%; - max-width: 1150px; + height: 100%; + max-width: 980px; margin: auto; } .list{ @@ -20,6 +25,15 @@ height: 20px; border-bottom: 1px solid #ddd; } + #recycle{ + position: absolute; + bottom: 0; + width: 100%; + height: 70px; + line-height: 70px; + text-align: center; + background: #ddd; + }
@@ -33,7 +47,7 @@