css铃铛摇动效果
代码语言:html
所属分类:动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body {
background-color: #ffdd40;
}
.wrapper {
position: relative;
display: flex;
width: 100%;
height: 90vh;
align-items: center;
justify-content: center;
flex-direction: column;
margin: 0;
padding: 0;
}
.bell .material-icons {
/* font-size:12rem !important; */
/* font-size:36px !important; */
font-size: 16rem !important;
}
.bell {
position: relative;
display: inline-block;
/* border:dashed 1px rgba(0,0,0,.25); */
margin: 0;
padding: 0;
}
.bell .anchor {
transform-origin: center top;
display: inline-block;
margin: 0;
padding: 0;
}
.bell .layer-1 {
color: #1d1e22;
z-index: 9;
animation: animation-layer-1 5000ms infinite;
opacity: 0;
}
..........完整代码请登录后点击上方下载按钮下载查看
















网友评论0