代码拉取完成,页面将自动刷新
同步操作将从 小木偶丶/OCDeer 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/*
引入oneClass.css
为你想要效果的view添加class || hover-class
在线预览地址:https://zwyboom.gitee.io/zwycss/#/
github地址:https://github.com/seventhcode/oneClass
欢迎star,你们的star是作者创作的动力~~
有问题可以留言随时解答
*/
.zwyHeightFour {
position: relative;
overflow: hidden;
}
.zwyHeightFour::before {
content: '';
position: absolute;
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));
background-size: 40px 40px;
width: 140%;
height: 50px;
left: 140%;
top: 0;
bottom: 0;
margin: auto;
transform: rotateZ(-45deg);
animation: zwyHeightFour 3.5s infinite;
}
@keyframes zwyHeightFour {
0%,36%{
left: -140%;
}
86%,100% {
left: 140%;
}
}
@keyframes zwyStar{
0%,75%{
opacity: 0;
transform: scale(0);
}
85%{
opacity: 1;
transform: scale(1.3);
}
100%{
opacity: 0;
transform: scale(0.8) rotate(20deg);
}
}
.zwyStar{
width: 30px;
height: 30px;
position: absolute;
right: 5%;
top: 0;
bottom: 20%;
margin: auto;
animation: zwyStar 3.5s infinite linear;
}
@keyframes zwyTextClick1{
from{
width: 0;
}
to{
width: 100%;
}
}
.zwyTextClick1{
position: relative;
}
.zwyTextClick1::before{
position: absolute;
content: '';
bottom: -3px;
left: 0;
margin: auto;
right: 0;
width: 100%;
animation:zwyTextClick1 .2s both;
height: 1px;
background-color: #000000;
}
@keyframes zwyJittery1{
5%, 50% {
transform: scale(1);
}
10% {
transform: scale(0.9);
}
15% {
transform: scale(1.15);
}
20% {
transform: scale(1.15) rotate(-5deg);
}
25% {
transform: scale(1.15) rotate(5deg);
}
30% {
transform: scale(1.15) rotate(-3deg);
}
35% {
transform: scale(1.15) rotate(2deg);
}
40% {
transform: scale(1.15) rotate(0);
}
}
.zwyJittery1{
animation: zwyJittery1 4s infinite;
}
.zwyBtnClick1{
margin-top: 10px;
border-bottom-width: 0 !important;
}
.zwyDot {
animation: zwyDot 4s infinite linear;
opacity: 1;
content: '';
position: absolute;
top: 0;
width: 20%;
height: 100%;
left: 0;
border-radius: 100%;
--left:10%;
--right:390%;
--bg:#000000;
}
.zwyDot::after {
content: '';
position: absolute;
left: calc(50% + 4px);
top: -4px;
height: 4px;
width: 4px;
background: var(--bg);
border-radius: 4px;
border: 4px solid var(--bg);
box-shadow: 0 0 7px var(--bg),
0 0 4px var(--bg);
}
@keyframes zwyDot {
0% {transform: translateX(var(--left)) rotate(0);}
25%{transform: translateX(var(--right)) rotate(0);}
50% {transform: translateX(var(--right)) rotate(180deg);}
75% {transform: translateX(var(--left)) rotate(180deg);}
100% {transform: translateX(var(--left)) rotate(360deg);}
}
@keyframes zwyMidSkewShow {
from {
transform: scale(0) rotateY(0);
}
to {
transform: scale(1) rotateY(360deg);
}
}
.zwyMidSkewShow {
animation: zwyMidSkewShow var(--speed) var(--count);
transform-origin: center;
}
@keyframes zwyHeightThree {
0% {
transform: translate(0,
0) translate(-50%, -50%);
}
35% {
transform: translate(50%,
0) translate(-50%, -50%);
}
50% {
transform: translate(50%,
50%) translate(-50%, -50%);
}
85% {
transform: translate(0,
50%) translate(-50%, -50%);
}
100% {
transform: translate(0,
0) translate(-50%, -50%);
}
}
.zwyHeightThree::before {
width: 200%;
height: 200%;
background: radial-gradient(circle at center, var(--heightColor) 0%, transparent 20%);
animation: zwyHeightThree var(--speed) linear infinite;
}
.zwyHeightThree::after {
opacity: 0.85;
background: inherit;
margin: 2px;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: var(--borderRadius);
}
.zwyHeightThree::before,
.zwyHeightThree::after {
content: '';
display: block;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.zwyHeightThree {
position: relative;
overflow: hidden;
--borderRadius:100px;
--heightColor:#fff;
--speed:5s;
border-radius: var(--borderRadius);
z-index: 2;
}
.zwyHand {
position: absolute;
left: 30px;
top: 40%;
animation: zwyHand .3s infinite alternate;
}
@keyframes zwyHand {
from {
transform: translate(0, 0);
}
to {
transform: translate(-10px, -10px);
}
}
.zwyRotateAndScale {
transform-origin: left bottom;
animation: zwyRotateAndScale 1.2s .3s ease-in-out infinite;
}
@keyframes zwyRotateAndScale {
0% {
transform: rotate(0) scale(1);
}
30% {
transform: rotate(0) scale(1);
}
45% {
transform: rotate(-10deg) scale(.8);
}
65% {
transform: rotate(-20deg) scale(.8);
}
100% {
transform: rotate(0) scale(1);
}
}
.zwyHide {
background: linear-gradient(270deg, var(--btnColor), var(--btnColor), var(--bgColor), var(--bgColor));
background-size: 300% 300%;
background-position: 99% 50%;
--bgColor: white;
--btnColor: #1AAD19;
color: var(--bgColor);
animation: zwyHide 1s var(--count) ease both;
--count: infinite;
}
@keyframes zwyHide {
0% {
background-position: 99% 50%;
}
100% {
background-position: 1% 50%;
}
}
@keyframes zwyCart {
7% {
transform: scale(1, 1);
}
10% {
transform: scale(1, 0.8);
}
13% {
transform: scale(1, 1);
}
37% {
transform: scale(1, 1);
}
40% {
transform: scale(1, 0.8);
}
43% {
transform: scale(1, 1);
}
}
.zwyCart {
transform-origin: bottom;
width: 30px;
height: 30px;
position: relative;
animation: zwyCart 3s infinite ease;
}
@keyframes zwyDrop {
0% {
top: -30%;
border-radius: 50%;
background-color: #fff;
}
3% {
top: 0;
border-radius: 50%;
background-color: #fff;
}
6% {
top: 30%;
height: 5px;
border-radius: 10px 10px 5px 5px;
transform: scaleX(1.7);
}
15% {
top: 10%;
height: 10px;
border-radius: 50%;
transform: scaleX(1);
}
30% {
top: 40%;
height: 10px;
opacity: 1;
border-radius: 50%;
transform: scaleX(1);
background-color: #fff;
}
31% {
opacity: 0;
}
33% {
top: -30%;
opacity: 0;
}
34% {
border-radius: 0;
background-color: #1C9FFF;
box-shadow: 0px 0px 10px 0px rgba(28, 159, 255, 0.4);
opacity: 1;
top: -30%;
}
40% {
top: 30%;
transform-origin: center bottom;
transform: scaleX(0.8) scaleY(1.4);
}
49% {
top: 10%;
transform-origin: center bottom;
transform: scaleX(1.3) scaleY(0.7);
}
64% {
top: 40%;
opacity: 1;
transform-origin: center top;
transform: scaleX(1) scaleY(1);
}
67% {
opacity: 0;
}
100% {
opacity: 0;
}
}
.zwyDrop {
width: 10px;
height: 10px;
position: absolute;
-webkit-backface-visibility: hidden;
-webkit-transform-style: preserve-3d;
left: 0;
right: 0;
margin: 0 auto;
transform-origin: 50%;
animation: zwyDrop 3s infinite ease;
}
@keyframes zwyHeightSec {
100% {
background-position: right -40px top 0px;
}
}
.zwyHeightSec {
position: relative;
overflow: hidden;
}
.zwyHeightSec::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
background-size: 40px 100%;
background-repeat: no-repeat;
background-position: left -40px top 0;
animation: zwyHeightSec 1s ease infinite;
}
.zwyHeight {
position: relative;
overflow: hidden;
}
.zwyHeight::before {
content: '';
position: absolute;
background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
width: 140%;
height: 80px;
left: 140%;
top: 0;
bottom: 0;
margin: auto;
transform: rotateZ(-45deg);
animation: isLeft 5s 2.3s infinite;
}
@keyframes isLeft {
0% {
left: -140%;
}
12% {
left: 140%;
}
100% {
left: 140%;
}
}
/*
<view wx:for="{{3}}" style="animation-delay:{{index+'s'}}" class="zwyChevron" key="{{index}}" ></view>
*/
.zwyChevron {
position: absolute;
width: 14px;
height: 4px;
opacity: 0;
transform: scale3d(0.5, 0.5, 0.5);
animation: move 3s ease-out infinite;
}
.zwyChevron:before,
.zwyChevron:after {
content: ' ';
position: absolute;
top: 0;
margin: auto;
height: 100%;
width: 51%;
background: #ff0004;
}
.zwyChevron:before {
left: 0;
transform: skew(0deg, 30deg);
}
.zwyChevron:after {
right: 0;
width: 50%;
transform: skew(0deg, -30deg);
}
@keyframes move {
25% {
opacity: 1;
}
33% {
opacity: 1;
transform: translateY(30px);
}
67% {
opacity: 1;
transform: translateY(40px);
}
100% {
opacity: 0;
transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
}
}
@keyframes shockwave {
0% {
-webkit-transform: scale(1);
transform: scale(1);
box-shadow: 0 0 2px var(--color), inset 0 0 1px var(--color);
opacity: 1;
}
95% {
box-shadow: 0 0 50px var(--color), inset 0 0 30px var(--color);
opacity: 0;
}
100% {
-webkit-transform: scale(2.25);
transform: scale(2.25);
opacity: 0;
}
}
.zwyHot {
position: relative;
--color: rgba(0, 0, 0, 0.15);
}
.zwyHot::before {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
border-radius: 50%;
animation: shockwave 3s 0.5s ease-out infinite;
}
.zwyHot::after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
border-radius: 50%;
animation: shockwave 3s 0.65s ease-out infinite;
}
@keyframes zwyHover1 {
0% {
transform: scale(1);
}
50% {
transform: scale(0.9);
}
100% {
transform: scale(1);
}
}
.zwyHover1 {
--count: infinite;
animation: zwyHover1 .6s var(--count) !important;
}
.zwyShake {
transform-origin: center bottom;
animation: zwyShake 2s 0.5s ease-out infinite;
}
@keyframes zwyShake {
0% {
transform: rotate(0deg);
transition-timing-function: cubic-bezier(0.215, .61, .355, 1);
}
10% {
transform: rotate(-12deg);
transition-timing-function: cubic-bezier(0.215, .61, .355, 1);
}
20% {
transform: rotate(12deg);
transition-timing-function: cubic-bezier(0.215, .61, .355, 1);
}
28% {
transform: rotate(-10deg);
transition-timing-function: cubic-bezier(0.215, .61, .355, 1);
}
36% {
transform: rotate(10deg);
transition-timing-function: cubic-bezier(0.755, .5, .855, .06);
}
42% {
transform: rotate(-8deg);
transition-timing-function: cubic-bezier(0.755, .5, .855, .06);
}
48% {
transform: rotate(8deg);
transition-timing-function: cubic-bezier(0.755, .5, .855, .06);
}
52% {
transform: rotate(-4deg);
transition-timing-function: cubic-bezier(0.755, .5, .855, .06);
}
56% {
transform: rotate(4deg);
transition-timing-function: cubic-bezier(0.755, .5, .855, .06);
}
60% {
transform: rotate(0deg);
transition-timing-function: cubic-bezier(0.755, .5, .855, .06);
}
100% {
transform: rotate(0deg);
transition-timing-function: cubic-bezier(0.215, .61, .355, 1);
}
}
.zwyHover2 {
z-index: 999;
position: relative;
--color: #ff0081;
--count: infinite;
}
.zwyHover2::before,
.zwyHover2::after {
position: absolute;
content: '';
display: block;
width: 140%;
height: 100%;
left: -20%;
z-index: -1000;
transition: all ease-in-out 0.5s;
background-repeat: no-repeat;
}
.zwyHover2::before {
top: -55%;
background-image: radial-gradient(circle, var(--color) 20%, transparent 20%), radial-gradient(circle, transparent 20%, var(--color) 20%, transparent 30%), radial-gradient(circle, var(--color) 20%, transparent 20%), radial-gradient(circle, var(--color) 20%, transparent 20%), radial-gradient(circle, transparent 10%, var(--color) 15%, transparent 20%), radial-gradient(circle, var(--color) 20%, transparent 20%), radial-gradient(circle, var(--color) 20%, transparent 20%), radial-gradient(circle, var(--color) 20%, transparent 20%), radial-gradient(circle, var(--color) 20%, transparent 20%);
background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
animation: topBubbles ease-in-out 0.75s var(--count);
display: block;
}
.zwyHover2::after {
bottom: -55%;
background-image: radial-gradient(circle, var(--color) 20%, transparent 20%), radial-gradient(circle, var(--color) 20%, transparent 20%), radial-gradient(circle, transparent 10%, var(--color) 15%, transparent 20%), radial-gradient(circle, var(--color) 20%, transparent 20%), radial-gradient(circle, var(--color) 20%, transparent 20%), radial-gradient(circle, var(--color) 20%, transparent 20%), radial-gradient(circle, var(--color) 20%, transparent 20%);
background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
display: block;
animation: bottomBubbles ease-in-out 0.75s var(--count);
}
@keyframes topBubbles {
0% {
background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%;
background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%;
}
50% {
background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%;
background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%;
}
100% {
background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%;
background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
}
}
@keyframes bottomBubbles {
0% {
background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%;
background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%;
}
50% {
background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%;
background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%;
}
100% {
background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%;
background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
}
}
@keyframes zwyHover3 {
0% {
transform: scale(1, 1);
}
33% {
transform: scale(1, 1.2);
}
66% {
transform: scale(1.2, 1);
}
100% {
transform: scale(1, 1);
}
}
.zwyHover3 {
--count: infinite;
animation: zwyHover3 .3s var(--count) !important;
}
.zwyFly {
animation: zwyFly 2s infinite alternate !important;
}
@keyframes zwyFly {
100% {
transform: translateY(12%);
}
}
.zwyRotate {
animation-name: zwyRotate;
animation-duration: 10s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
@keyframes zwyRotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(1turn);
}
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(1turn);
}
}
.zwyLive {
width: 10%;
height: 50%;
position: relative;
--color: white;
background-color: var(--color);
transform-origin: bottom;
animation: zwyLive 0.6s 0.2s infinite ease-in-out;
}
.zwyLive::after {
right: 200%;
animation: zwyLive 0.6s 0.4s infinite ease-in-out;
}
.zwyLive::before {
left: 200%;
animation: zwyLive 0.6s 0s infinite ease-in-out;
}
.zwyLive::after,
.zwyLive::before {
width: 100%;
height: 100%;
content: '';
position: absolute;
bottom: 0;
background-color: var(--color);
transform-origin: bottom;
}
@keyframes zwyLive {
0%,
100% {
transform: scaleY(1);
}
50% {
transform: scaleY(0.6);
}
}
.zwyMusic {
position: relative;
--contentBefore: '♫';
--contentAfter: '♩';
--color: #000000;
--zIndex: 9999;
z-index: var(--zIndex);
}
.zwyMusic::after,
.zwyMusic::before {
position: absolute;
left: -10%;
bottom: -30%;
color: var(--color);
z-index: calc(var(--zIndex) - 1);
opacity: 0;
transform: translateY(0) translateX(0) scale(0);
}
.zwyMusic::after {
content: var(--contentAfter);
animation: zwyMusic 2.5s 1.25s linear infinite;
}
.zwyMusic::before {
content: var(--contentBefore);
animation: zwyMusic 2.5s linear infinite;
}
@keyframes zwyMusic {
0% {
transform: translateX(0) translateY(0) scale(0);
opacity: 0;
}
5% {
transform: translateY(0) translateX(0) scale(.6);
opacity: 1;
}
50% {
transform: translateX(-40px) translateY(-50px) scale(1);
opacity: 1;
}
90% {
transform: translateX(-50px) translateY(-100px) scale(1);
opacity: 0;
}
93% {
transform: translateX(-50px) translateY(-100px) scale(0);
opacity: 0;
}
100% {
transform: translateX(0) translateY(0) scale(0);
opacity: 0;
}
}
.zwyPortrait {
position: relative;
--color: #ff0081;
}
.zwyPortrait::after,
.zwyPortrait::before {
position: absolute;
content: '';
left: 0;
right: 0;
bottom: 0;
top: 0;
margin: auto;
box-sizing: border-box;
border: 1px solid var(--color);
border-radius: 50%;
width: 100%;
height: 100%;
}
.zwyPortrait::after {
transform: scale(1.1);
animation: zwyPortrait 0.8s linear infinite;
}
@keyframes zwyPortrait {
0%,
100% {
transform: scale(1);
opacity: 0;
}
1% {
transform: scale(1);
opacity: 1;
}
95% {
transform: scale(1.3);
opacity: 0;
}
}
@keyframes zwyBeat {
0% {
transform: scale(1);
}
50% {
transform: scale(0.8);
}
100% {
transform: scale(1);
}
}
.zwyBeat {
animation: zwyBeat 0.8s linear infinite;
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。