zoukankan      html  css  js  c++  java
  • reset 移动端

    html,
    body,
    ul,
    li,
    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      margin: 0;
      padding: 0;
    }
    
    ::-webkit-scrollbar {
      display: none;
    }
    
    ul,
    li {
      list-style: none;
    }
    
    html {
      height: 100%;
      min-height: 100%;
    }
    
    body {
      font-family: "Pingfang SC", LiHei Pro Medium, "Microsoft YaHei", "微软雅黑",
      arial;
      font-size: 24px;
    
      position: relative;
    
      min-height: 100%;
    
      user-select: none;
    
      color: #000000;
    
      -webkit-tap-highlight-color: transparent;
      -webkit-text-size-adjust: none;
      -webkit-touch-callout: none;
      -moz-user-select:none;
      -webkit-user-select:none;
      user-select: none;
      height:100%;
    }
    a,button,input,textarea{
      border: none;
      outline: none;
      -webkit-tap-highlight-color: rgba(0,0,0,0);
      -webkit-user-modify:read-write-plaintext-only; 
    }
    input[type=number]::-webkit-textfield-decoration-container {
        background-color: transparent;    
    }
    input[type=number]::-webkit-inner-spin-button {
         -webkit-appearance: none;
    }
    input[type=number]::-webkit-outer-spin-button {
         -webkit-appearance: none;
    }
    
    
    a:hover,
    a:visited,
    a:link,
    a:active {
      text-decoration: none;
    }
    
    @font-face {
      font-family: DIN;
    
      src: url(///font/DINCond-Regular.otf);
    }
    
    @font-face {
      font-family: DIN-Light;
    
      src: url(///font/DINCond-Light.otf);
    }
    
    @font-face {
      font-family: DIN-Medium;
    
      src: url(///font/DINCond-Medium.otf);
    }
    
    @font-face {
      font-family: DIN-Bold;
    
      src: url(///DIN_Condensed_Bold.ttf);
    }
    
    
  • 相关阅读:
    找出数组中重复的值
    算法-二分法查询
    MySQL连接数据库url的参数characterEncoding=UTF-8
    String 与 list 相互转换
    php配置debug
    ideal+php
    命令行编译tomcat项目
    jsp+layui导出excel
    jsp+ssm+tomcat+ueditor上传定时处理无用文件
    jsp后台获取项目路劲
  • 原文地址:https://www.cnblogs.com/sybboy/p/12207244.html
Copyright © 2011-2022 走看看