css缩放样式

This commit is contained in:
熊丽君
2021-12-15 08:40:23 +08:00
parent 01dad5c243
commit 7df87f043e

View File

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