CommentCoreLibrary实现评论弹幕动画效果代码
代码语言:html
所属分类:动画
代码描述:CommentCoreLibrary实现评论弹幕动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="format-detection" content="telphone=no" />
<meta name="viewport" content="initial-scale=1.0,maximum-scale=1,user-scalable=no">
<noscript><meta http-equiv="X-Frame-Options" content="deny" /></noscript>
<title>弹幕示例</title>
<style>
.abp{
position:relative;
}
.abp .container{
-webkit-transform: matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);
transform: matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);
position: absolute;
display: block;
overflow: hidden;
margin: 0;
border: 0;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 9999;
touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.abp .container .cmt{
-webkit-transform: matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);
transform: matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);
-webkit-transform-origin: 0% 0%;
-ms-transform-origin: 0% 0%;
transform-origin: 0% 0%;
position: absolute;
margin: 0;
color: #fff;
text-decoration: none;
-webkit-text-size-adjust: none;
-ms-text-size-adjust: none;
text-size-adjust: none;
letter-spacing: 0;
word-break: keep-all;
white-space: pre;
}
.abp .container .cmt.noshadow{
text-shadow: none;
}
.abp .container .cmt.rshadow{
text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}
/** Aliases for Chinese named fonts because they don't work on *nix **/
@font-face{
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0