2024-02-08 19:51:22

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>自定义input[type='file']样式</title>
</head>
<body>
<input type="file"/>
<style type="text/css">
    input{
        width: 20px;
        height: 20px;
        cursor: pointer;
    }
    input:before{
        content: "";
        display: inherit;
        width: inherit;
        height: inherit;
    }
</style>
</body>
</html>

 

上一篇:Vue Data数据对象 第二天


下一篇:C#.Net 委托