File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <<<<<<< HEAD
2+ # Including CCL 调用 CCL
3+ 以下仅供参考,且不包括如何架设脚本弹幕部分。如果还有更具体的问题,欢迎发邮件给我。
4+
5+ ### 需要的文件 Required Files
6+ 编译好了的文件都在 ` build/ ` 里面,架设时需要 ` CommentCoreLibrary.js ` 和 ` style.css ` 。注意
7+ 还有一个` .min.* ` 版本,是压缩后的。如果你在开发CCL相关的平台,建议用未压缩的,因为出错了知道在哪行。
8+ 等开发完了就可以直接换用 ` .min.* ` 压缩版,节约流量提高页面载入速度啥的。
9+
10+ ### 布置页面
11+ CCL理论上可以绑定任何 ` div ` 元件,但是没有结构好的 ` div ` 下会产生很多问题。因此,在挂在 CCL 时
12+ 先保证有类似如下的 HTML 结构
13+
14+ <div class="container">
15+ </div>
16+
17+ 注意,你可以通过别的属性叠加在 container 上,比如 ` <div class='container' style="width:640px; height:480px;"> ` 。
18+
19+ =======
120# Introduction 入门文档
221入门文档设计为面向有较少 Web 或者 JS 开发经验的开发者们。如果你比较熟悉 Web 开发可以直接阅读 CCL
322的设计文档。
@@ -104,3 +123,4 @@ CCL自己没有发送弹幕的内建支持,不过实现起来非常轻松。
104123
105124### 实时弹幕 (Realtime Comments)
106125参考[ 推荐的实现方法] ( DoingItRight.md )
126+ >>>>>>> master
Original file line number Diff line number Diff line change 1+ /** CSS3 keyframe animations. From @WhiteBlue with modifications */
2+
3+ @keyframes cmt-move {
4+ 100% {
5+ right : 100% ;
6+ }
7+ }
8+
9+ @keyframes cmt-move-reverse {
10+ 100% {
11+ left : 100% ;
12+ }
13+ }
You can’t perform that action at this time.
0 commit comments