jquery+css实现编辑器复制粘贴删除分享按钮点击动画效果代码
代码语言:html
所属分类:其他
代码描述:jquery+css实现编辑器复制粘贴删除分享按钮点击动画效果代码
代码标签: jquery css 编辑器 复制 粘贴 删除 分享 按钮 点击 动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
* {
box-sizing: border-box;
}
body {
width: 100%;
height: 100%;
margin: 4%;
overflow: hidden;
background: #a3fcff;
}
.container {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
width: 92%;
height: 115px;
max-width: 510px;
padding: 0 24px;
background: #41484b;
border-radius: 10px;
box-shadow: rgba(0, 0, 0, 0.25) 0 16px 36px;
transform: translate3d(0, 0, 0);
}
.container > button {
position: relative;
display: block;
width: 25%;
height: 100%;
border: none;
background: transparent;
cursor: pointer;
z-index: 99;
outline: none;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-user-select: none;
-webkit-touch-callout: none;
}
.container > button > div {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
}
.cut:before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
width: 2px;
height: 2px;
background: #41484b;
z-index: 2;
border-radius: 100%;
}
.cut.is-active .top {
-webkit-animation: cut-top 0.8s ease-out;
animation: cut-top 0.8s ease-out;
}
.cut.is-active .bottom {
-webkit-animation: cut-bottom 0.8s ease-out;
animation: cut-bottom 0.8s ease-out;
}
.cut .top,
.cut .bottom {
d.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0