[英]increase and decrease the font size of the text on zoom in out slider using jquery cycle2
[英]Increase font size of Cycle2 overlay
我正在尝试在cycle2中增加叠加层的大小。 但是我只想增加标题而不是描述。
是否可以仅以数据循环标题为目标,并且可以仅使用CSS做到这一点?
<div class="cycle-slideshow" data-cycle-swipe=true data-cycle-swipe-fx=scrollHorz data-cycle-speed="200" data-cycle-auto-height="1" data-cycle-loader="wait">
<div class="cycle-prev"></div>
<div class="cycle-next"></div>
<div class="cycle-overlay"></div>
<img src="theme/content/large.jpg" data-cycle-title="NEW CAR COMING SOON" data-cycle-desc="Pre Order now for £1000 off">
</div>
发现它正在为每个位创建单独的div,因此我使用了此CSS,将n替换为div的编号。
.cycle-overlay > div:nth-of-type(n)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.