123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- /* miniprogram/pages/marvellous/template/videoAn/index.wxss */
- .door {
- top: 0;
- left: 0;
- position: fixed;
- width: 750rpx;
- height: 100vh;
- z-index: 1;
- }
- .door .transverse{
- white-space: nowrap;
- overflow: hidden;
- width: 1500rpx;
- left: -375rpx;
- position: absolute;
- height: 100vh;
- z-index: 3;
- text-align: center;
- }
- .door .transverse .right,
- .door .transverse .left{
- width: 375rpx;
- height: 100vh;
- }
- .door .transverse .center{
- width: 0;
- }
- .door .transverse .right,
- .door .transverse .left,
- .door .transverse .center{
- display: inline-block;
- }
- .door .portrait{
- height: 200vh;
- margin-top: -50vh;
- }
- .door .portrait .port{
- position: absolute;
- overflow: hidden;
- top: 50%;
- transform: translateY(-50%);
- width: 750rpx;
- font-size: 0;
- }
- .door .port .up,
- .door .port .down{
- height: 50vh;
- width: 750rpx;
- }
- .door .portrait .center{
- height: 0;
- }
- .door .tip {
- position: absolute;
- text-align: center;
- font-size: 18px;
- bottom: 20rpx;
- color: #eee;
- width: 750rpx;
- z-index: 4;
- animation: mymove 2s infinite;
- }
- @keyframes mymove {
- 0% {
- opacity: 1;
- }
- 50% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- .door .width100{
- animation: width100 1.5s;
- }
- .door .height100{
- animation: height100 1.5s;
- }
- @keyframes width100 {
- 0% {
- width: 0;
- }
- 100% {
- width: 750rpx;
- }
- }
- @keyframes height100 {
- 0% {
- height: 0;
- }
- 100% {
- height: 100vh;
- }
- }
|