canvas直播点赞冒泡动画效果代码
代码语言:html
所属分类:动画
代码描述:canvas直播点赞冒泡动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <style type="text/css"> html, body { height: 100%; position: relative; width: 100%; } canvas { display: block; position: absolute; bottom: 100px; right: -24px; z-index: 20; cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .journal-reward { position: absolute; bottom: 70px; right: 20px; height: 80px; width: 80px; display: block; z-index: 21; } .zancont { position: relative; width: 300px; height:100%; } </style> </head> <body> <div class="zancont"> <img src="//repo.bfw.wiki/bfwrepo/image/5f9e911f6d925.png" class="journal-reward" /> </div> <script type=.........完整代码请登录后点击上方下载按钮下载查看
网友评论0