materialize实现自适应表单效果代码

代码语言:html

所属分类:表单美化

代码描述:materialize实现自适应表单效果代码

代码标签: 适应 表单 效果

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

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>BFW NEW PAGE</title>
    <!--Import Google Icon Font-->
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <!--Import materialize.css-->
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/materialize.css">
    <!--Let browser know website is optimized for mobile-->
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery.1.11.min.js"></script>
    <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/materialize.js"></script>

    <style>
        * {
            margin: 0;
            padding: 0;
            list-style: none;
        }
        body::after {
            content: "";
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            position: fixed;
            z-index: -1;
            background-color: #F4F4F4;
        }
        body {
            height: 100%;
            background-color: #666;
        }
        .lanren {
            position: fixed;
            left: 50%;
            top: 50%;
            -webkit-transform: translate(-50%, -50%);
            -moz-transform: translate(-50%, -50%);
            -o-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
        }
        .remove-a {
            width: 100px;
            height: 30px;
            text-align: center;
            float: right;
            color: #fff;
            background: #26a69a;
            cursor: pointer;
        }
        .square {
            width: 64px;
            height: 64px;
            box-sizing: border-box;
        }
        .mask {
            background: rgba(51,51,51,0.9);
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
        }
    </style>
</head>
<body>
    <ul id="slide-out" class="side-nav">
        <li>
            <div class="userView">
                <div class="background">
                    <img src="">
                </div>
                <a href="#!user"><img class="circle" src="//repo.bfw.wiki/bfwrepo/image/5d653bd0990d0.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_100,h_100,/quality,q_90"></a> <a href="#!name"><span class="white-text name">张三</span></a> <a href="#!email"><span class="white-text email">jdandturk@sina.com</span></a>
            </div>
        </li>
        <li><a href="#!"><i class="material-icons">cloud</i>带图标的第一链接</a></li>
        <li><a href="#!">第二链接</a></li>
        <li>
            <div class="divider"></div>
        </li>
        <li><a class="subheader">子标题</a></li>
        <li><a class="waves-effect" href="#!">带波纹效果的第三链接</a></li>
    </ul>
    <a href="#" data-activates="slide-out" class="button-collapse"><i class="material-icons">menu</i></a>
    <div class=&q.........完整代码请登录后点击上方下载按钮下载查看

网友评论0