fade background image of div, and text within it

HereeLeam

New Member
Using jQuery, I'd like to cycle through 3 different background-images and 3 sets of text within "box", fading to the next every 6 seconds.CSS:\[code\].box {background: url(/filepath/to/image.jpg) no-repeat center center;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;}\[/code\]HTML:\[code\]<div class="box"><h1>Headline</h1><h2>Sub-text</h2></div>\[/code\]What's the best way to do this?
 
Back
Top