html点击选择打沟,CSS3⼤的勾形选中动效CSS
语⾔:
CSSSCSS
确定
.check-save {
background: rgba(0, 0, 0, 0.8);
margin-left: calc(50% - 25px);
border-radius: 150px;
height: 150px;
width: 150px;
position: absolute;
box-sizing: border-box;
cursor: pointer;
}
.check-save::before,
.check-save::after {
box-sizing: border-box;
position: absolute;
height: 0;
width: 5px;
background-color: #fff;
display: inline-block;
-
moz-transform-origin: left top;
-ms-transform-origin: left top;
-o-transform-origin: left top;
-webkit-transform-origin: left top;
transform-origin: left top;
content: ' ';
-webkit-transition: opacity ea 0.5;
-moz-transition: opacity ea 0.5;
transition: opacity ea 0.5;
}
top: 108px;
left: 61.5px;
-moz-transform: rotate(-135deg);
-ms-transform: rotate(-135deg);
-o-transform: rotate(-135deg);
transform: rotate(-135deg);
}
.check-save::after {
top: 49.5px;
left: 0;
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-
o-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.check-save::before {
-moz-animation: reverTop 0.1s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards;
-o-animation: reverTop 0.1s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards;
-webkit-animation: reverTop 0.1s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards; animation: reverTop 0.1s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards;
}
.check-save::after {
-
moz-animation: reverBottom 0.4s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards; -o-animation: reverBottom 0.4s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards;
-webkit-animation: reverBottom 0.4s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards; animation: reverBottom 0.4s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards;
}
.check-save:hover::after {
-moz-animation: bottomcheck 0.2s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards;
-o-animation: bottomcheck 0.2s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards;
解忧杂货铺小说
-webkit-animation: bottomcheck 0.2s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards; animation: bottomcheck 0.2s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards;
.check-save:hover::before {
-moz-animation: topcheck 0.4s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards; -o-animation: topcheck 0.4s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards;
-webkit-animation: topcheck 0.4s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards; animation: topcheck 0.4s cubic-bezier(0.35, 0, 0.25, 1) 0s forwards;
}
@-moz-keyframes bottomcheck {
0% {
height: 0;
}
100% {
没有借口height: 85.71429px;
}
}
@-webkit-keyframes bottomcheck {
0% {
height: 0;
文明礼仪活动}
100% {
height: 85.71429px;
}
}
@keyframes bottomcheck {
0% {
height: 0;
}
100% {
height: 85.71429px;
}
}
@-moz-keyframes reverBottom {
0% {
height: 85.71429px;
100% {
height: 0;
}
}
@-webkit-keyframes reverBottom { 0% {
height: 85.71429px;
}
100% {
height: 0;
墨梅古诗正确原文}
}
@keyframes reverBottom {
0% {
height: 85.71429px;
}
100% {
height: 0;
}
}
@keyframes topcheck {
0% {
height: 0;
}
50% {
height: 0;
}
100% {
黑色彼岸花height: 150px;
}
}
@-webkit-keyframes topcheck {
0% {
}
硕士研究生论文50% {
height: 0;
}
100% {
height: 150px;
}
}
@-moz-keyframes topcheck {
0% {
height: 0;
}
50% {
height: 0;
}
100% {
height: 150px;
}
}
@keyframes reverTop {
0% {如何做豆腐
height: 150px;
}产品质量管理制度
50% {
height: 0;
}
100% {
height: 0;
}
}
@-webkit-keyframes reverTop { 0% {
height: 150px;