Skip to content

Commit d61d9f5

Browse files
committed
Merge branch 'dev-cssonly' of github.com:jabbany/CommentCoreLibrary into dev-cssonly
Conflicts: package.json
2 parents 4b3d37a + de119d3 commit d61d9f5

2 files changed

Lines changed: 33 additions & 0 deletions

File tree

docs/Intro.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
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

src/css/animations.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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+
}

0 commit comments

Comments
 (0)