css实现自适应简洁蛇形登录框表单效果代码

代码语言:html

所属分类:表单美化

代码描述:css实现自适应简洁蛇形登录框表单效果代码,点击输入框底部线条蛇形跟随。

代码标签: css 简洁 自适应 登录 表单

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

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">



    <style>
       
        ::selection {
          background: #2D2F36;
        }
        ::-webkit-selection {
          background: #2D2F36;
        }
        ::-moz-selection {
          background: #2D2F36;
        }
        body {
          background: white;
          font-family: 'Inter UI', sans-serif;
          margin: 0;
          padding: 20px;
        }
        .page {
          background: #e2e2e5;
          display: flex;
          flex-direction: column;
          height: calc(100% - 40px);
          position: absolute;
          place-content: center;
          width: calc(100% - 40px);
        }
        @media (max-width: 767px) {
          .page {
            height: auto;
            margin-bottom: 20px;
            padding-bottom: 20px;
          }
        }
        .container {
          display: flex;
          height: 320px;
          margin: 0 auto;
          width: 640px;
        }
        @media (max-width: 767px) {
          .container {
            flex-direction: column;
            height: 630px;
            width: 320px;
          }
     .........完整代码请登录后点击上方下载按钮下载查看

网友评论0