一路繁花似锦绣前程
失败的越多,成功才越有价值

导航

 
<!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>

 

posted on 2021-05-25 12:48  一路繁花似锦绣前程  阅读(90)  评论(0编辑  收藏  举报