css布局实现手机端移动端下拉筛选框效果代码

代码语言:html

所属分类:布局界面

代码描述:css布局实现手机端移动端下拉筛选框效果代码

代码标签: 手机 移动 下拉 筛选 效果

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

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta content="width=device-width, initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport" />
    <meta content="telephone=yes" name="format-detection" />
    <meta content="email=no" name="format-detection" />
    <style>
        body {
            margin: 0;
            padding: 0;
            vertical-align: baseline;
            font: inherit;
            font-style: inherit;
            font-size: 100%;
            font-family: "Microsoft Yahei", Verdana, Arial, Helvetica, sans-serif;
        }
        html {
            font-size: 62.5%;
            height: 100%;
            -webkit-font-smoothing: antialiased
        }
        body {
            color: #333;
            line-height: 1;
            background: #f0f0f0;

        }
        body.blue {
            background: #efeff4;
        }
        article,
        aside,
        details,
        figcaption,
        figure,
        footer,
        header,
        hgroup,
        nav,
        section {
            display: block;
        }
        dl,
        dt,
        dd,
        ul,
        ol,
        li,
        em,
        i,
        p {
            margin: 0;
            padding: 0;
            list-style: none;
            font-style: normal;
        }
        li {
            font-size: 14px;
            font-size: 1.4rem;
        }
        table {
            border-collapse: separate;
            border-spacing: 0;
        }
        caption,
        th,
        td {
            text-align: left;
            font-weight: normal;
        }
        h1,
        h2,
        h3,
        h4 {
            font-family: inherit;
            font-weight: 500;
            line-height: 1.1;
            color: inherit
        }
:focus {
            outline: 0;
        }
        a {
            color: #333;
            tap-highlight-color: rgba(0,0,0,0);
            focus-ring-color: rgba(0, 0, 0, 0);
            -webkit-tap-highlight-color: rgba(0,0,0,0);
            -webkit-focus-ring-color: rgba(0, 0, 0, 0);
            -moz-tap-highlight-color: rgba(0,0,0,0);
            -moz-focus-ring-color: rgba(0, 0, 0, 0);
        }
        a:hover {
            color: #000;
        }
        a:focus {
            outline: none;
        }
        a,
        a:hover,
        a:active {
            outline: 0;
            text-decoration: none;
        }


        /* ===== retrie分类下来 ===== */
        .retrie {
            position: relative;
            z-index: 102;
            height: 50px;
            background-color: #fff;
            border-bottom: 1px solid #e8e8e8;
        }
        .retrie dt {
            overflow: hidden
        }
        .retrie dt a {
            position: relative;
            float: left;
            width: 50%;
            height: 49px;
            line-height: 50px;
            color: #333;
            font-size: 14px;
            font-size: 16px;
            text-align: center;
        }
        .retrie dt a:after {
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -4px;
            margin-left: 30px;
            width: 8px;
            height: 8px;
            border: #666 solid;
            border-width: 1px 1px 0 0;
            content: ' ';
            -webkit-transform: rotate(135deg);
        }
        .retrie dt .up {
            color: #007ccf;
            border-bottom: 2px solid #007ccf;
        }
        .retrie dt .up:after {
            margin-top: 0;
            border: #007ccf solid;
            border-width: 1px 1px 0 0;
            -webkit-transform: rotate(-45deg);
        }
        .retrie dt a:last-child:before {
            position: absolute;
            top: 10px;
            left: 0;
            display: block;
            width: 1px;
            height: 30px;
            background-color: #ebebeb;
            content: ' ';
        }
        .retrie dd {
            position: relative;
        }
        /* ===== slide-area ===== */
        .slide {
            position: absolute;
            top: 0px;
            le.........完整代码请登录后点击上方下载按钮下载查看

网友评论0