【发布时间】:2015-10-23 11:23:36
【问题描述】:
您好,我正在使用以下库:http://pixelcog.github.io/parallax.js/,但我遇到了问题。
我依附于我的形象以及我希望它看起来如何
我的代码是:
HTML:
<div class="parallax-window" data-parallax="scroll" data-image-src="<?php echo get_template_directory_uri();?>/recursos/imagenes/parallax-home.jpg"></div>
CSS
.parallax-window {
min-height: 400px;
background: transparent;
}
谢谢
【问题讨论】:
标签: javascript css background parallax.js