【发布时间】:2014-02-27 03:19:52
【问题描述】:
我喜欢 Slidify 与reveal.js 框架的结合。
也就是说,我不知道如何使用 slidify 将背景更改为图像或颜色。
对于reveal.js,我会这样做:
<section data-background="#007777">
如文档所述here
我修改了reveal.js slide layout 以包含数据背景参数:
<section class='{{slide.class}}' data-state='{{slide.ds}}' id='{{slide.id}}' data-background='{{slide.background}}'>
并像这样调用新幻灯片:
--- .background "#007777"
但背景没有变化。有什么想法我在这里做错了吗?
【问题讨论】: