This commit is contained in:
33
node_modules/@dcloudio/uni-components/style/image.css
generated
vendored
Normal file
33
node_modules/@dcloudio/uni-components/style/image.css
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
uni-image {
|
||||
width: 320px;
|
||||
height: 240px;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
uni-image[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
uni-image > div {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
|
||||
uni-image > img {
|
||||
-webkit-touch-callout: none;
|
||||
user-select: none;
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
uni-image > .uni-image-will-change {
|
||||
will-change: transform;
|
||||
}
|
||||
Reference in New Issue
Block a user