123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- .mediaBox {
- position: fixed;
- top: 0px;
- left: 0px;
- width: 100vw;
- height: 100vh;
- display: flex;
- justify-content: center;
- background-color: rgba(0, 0, 0, 0.35);
- .media {
- position: relative;
- margin-top: 200rpx;
- width: 480rpx;
- height: 620rpx;
- padding: 24rpx;
- box-sizing: border-box;
- background-color: #FEF2C7;
- border-radius: 20rpx;
- .close {
- position: absolute;
- right: -50rpx;
- top: -50rpx;
- width: 58rpx;
- height: 58rpx;
- }
- .body {
- position: relative;
- width: 100%;
- height: 100%;
- padding: 24rpx 0rpx 30rpx;
- text-align: center;
- box-sizing: border-box;
- background-color: white;
- border-radius: 20rpx;
- .title {
- font-size: 38rpx;
- letter-spacing: 4rpx;
- }
- .falsh {
- position: absolute;
- bottom: 20rpx;
- left: -95rpx;
- width: 570rpx;
- height: 570rpx;
- animation: falsh-identifier 4.5s infinite linear;
- }
- .mediaImg {
- position: relative;
- z-index: 2;
- padding: 70rpx 0rpx 60rpx;
- width: 274rpx;
- height: 240rpx;
- animation: falsh-scale 2s infinite linear;
- }
- .see {
- position: relative;
- z-index: 2;
- display: inline-block;
- padding: 14rpx 66rpx;
- font-size: 30rpx;
- background-image: linear-gradient(270deg, #FC5556 0%, #F84041 100%, #14C962 100%);
- box-shadow: 0 6rpx 14rpx 0 rgba(251, 79, 80, 0.76);
- border-radius: 50rpx;
- color: white;
- }
- }
- }
- }
- /* 转圈动画 */
- @keyframes falsh-identifier {
- 0% {
- transform: rotate(0deg) scale(0.7);
- }
- 50% {
- transform: rotate(180deg) scale(1);
- }
- 100% {
- transform: rotate(360deg) scale(0.7);
- }
- }
- @keyframes falsh-scale {
- 0% {
- transform: scale(1);
- }
- 50% {
- transform: scale(1.2);
- }
- 100% {
- transform: scale(1);
- }
- }
|