zoukankan      html  css  js  c++  java
  • 原来样式改变不了(input type="file")

    <!DOCTYPE html>
    <html>
    <head>
      <meta charset="utf-8">
      <title></title>
      <style type="text/css">
      label{
        border-radius: .4rem;
        background-color: #979fa8;
        color: #fff;
        display: inline-block;
        padding: .8rem 4rem;
        cursor: pointer;
        margin-bottom: 1rem;
        position: relative;
        overflow: hidden;
        text-align: center;
        transition: background-color .5s cubic-bezier(.24,.68,.67,.9);
      }
      span{
            cursor: pointer;
        pointer-events: none;
      }
      input[type=file] {
        display: none;
        visibility: hidden;
      }
      </style>
    
    
    </head>
    <body>
    <label>
      <span>上传</span>
      <input type="file">
    
    
    </label>
    </body>
    </html>
    

      

  • 相关阅读:
    概率期望训练之五
    概率期望训练之四
    JavaScript Source Map详解
    JSON.parse、JSON.stringify
    Linux cp命令直接覆盖不提示方法
    Service Worker
    HTML5 应用程序缓存
    二分图
    Tarjan
    FFT迭代加深 & NTT 多项式求逆
  • 原文地址:https://www.cnblogs.com/TTTK/p/6114837.html
Copyright © 2011-2022 走看看