mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
* change example dir * Update README.md 更新预览教程 * 新增 layout 组件 * exclude example * change .wxss -> .pcss * 脚本目录更名为 scripts
32 lines
503 B
Plaintext
32 lines
503 B
Plaintext
.zan-popup {
|
|
position: fixed;
|
|
background-color: #fff;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate3d(-50%, -50%, 0);
|
|
transition: .2s ease-out;
|
|
}
|
|
|
|
.zan-popup--top {
|
|
width: 100%;
|
|
top: 0;
|
|
right: auto;
|
|
bottom: auto;
|
|
left: 50%;
|
|
transform: translate3d(-50%, 0, 0);
|
|
}
|
|
|
|
.zan-popup--right {
|
|
transform: translate3d(50%, -50%, 0);
|
|
}
|
|
|
|
.zan-popup--left {
|
|
transform: translate3d(-150%, -50%, 0);
|
|
}
|
|
|
|
.zan-popup--show {
|
|
transform: translate3d(-50%, -50%, 0);
|
|
}
|