css缩放样式
This commit is contained in:
@ -70,16 +70,16 @@ export default {
|
|||||||
#ScaleBox {
|
#ScaleBox {
|
||||||
--scale: 1;
|
--scale: 1;
|
||||||
}
|
}
|
||||||
// .ScaleBox {
|
.ScaleBox {
|
||||||
// position: absolute;
|
position: absolute;
|
||||||
// transform: scale(var(--scale)) translate(-50%, -50%);
|
transform: scale(var(--scale)) translate(-50%, -50%);
|
||||||
// display: flex;
|
display: flex;
|
||||||
// flex-direction: column;
|
flex-direction: column;
|
||||||
// transform-origin: 0 0;
|
transform-origin: 0 0;
|
||||||
// left: 50%;
|
left: 50%;
|
||||||
// top: 50%;
|
top: 50%;
|
||||||
// transition: 0.3s;
|
transition: 0.3s;
|
||||||
// z-index: 999;
|
z-index: 999;
|
||||||
// // background: rgba(255, 0, 0, 0.3);
|
// background: rgba(255, 0, 0, 0.3);
|
||||||
// }
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user