dragslot实现列表项拖动排序效果代码

代码语言:html

所属分类:拖放

代码描述:dragslot实现列表项拖动排序效果代码

代码标签: 表项 拖动 排序 效果

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

<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/dragslot.css">
    <style>
        body {
            font-family: 'Microsoft Yahei';
            margin: 0;

        }
        ul,li {
            list-style: none;
        }
        h1 {
            font-size: 40px;
        }
        dd {
            font-style: italic;
            color: #666;
        }
        .clearfix:after {
            content: ".";
            display: block;
            height: 0;
            clear: both;
            visibility: hidden;
        }
        .container {
            width: 80%;
            min-height: 500px;
            background: #fff;
            margin: 0 auto;

        }

        .demo-header {
            margin-bottom: 80px;
            height: 350px;
            color: #fff;
            background-color: #0abebf;
            padding: 10px 150px;
        }
        #download {
            background-color: #b7d06c;
            color: #fff;
            height: 20px;
            display: block;
            width: 180px;
            text-align: center;
            padding: 10px;
            box-shadow: 1px 1px 5px #ccc;
            border-radius: 3px;
            text-decoration: none;
        }
        #download:hover {
            text-decoration: none;
            background-color: #9dc509;
        }
        .demo {
            padding-bottom: 80px;
        }
        li.slot-item {
            padding: 1px 10px;
.........完整代码请登录后点击上方下载按钮下载查看

网友评论0