This commit is contained in:
33
node_modules/@dcloudio/uni-components/style/resize-sensor.css
generated
vendored
Normal file
33
node_modules/@dcloudio/uni-components/style/resize-sensor.css
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
@keyframes once-show {
|
||||
from {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
uni-resize-sensor,
|
||||
uni-resize-sensor > div {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
uni-resize-sensor {
|
||||
display: block;
|
||||
z-index: -1;
|
||||
visibility: hidden;
|
||||
animation: once-show 1ms;
|
||||
}
|
||||
uni-resize-sensor > div > div {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
uni-resize-sensor > div:first-child > div {
|
||||
width: 100000px;
|
||||
height: 100000px;
|
||||
}
|
||||
uni-resize-sensor > div:last-child > div {
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
}
|
||||
Reference in New Issue
Block a user