mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 20:04:09 +00:00
uploader
This commit is contained in:
@@ -25,3 +25,4 @@
|
||||
@import './actionsheet.css';
|
||||
@import './quantity.css';
|
||||
@import './progress.css';
|
||||
@import './uploader.css';
|
||||
|
24
packages/zanui-css/src/uploader.css
Normal file
24
packages/zanui-css/src/uploader.css
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
@component-namespace zan {
|
||||
@b uploader {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
|
||||
@e input {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
input[type="file" i]::-webkit-file-upload-button {
|
||||
cursor:pointer;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user