Yao 451a3b19fc
[new feature] 增加 css 编译,方便组件书写 (#40)
* add src dir && add build

* add build watch && change dir name

* bower ignore package.json
2017-10-29 10:42:28 +08:00

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);
}