javascript - Change font color and URL Dynamically -
i working on website (html+php).here fiddle of have done far(sharing 1 example).
each image should point different urls. there few images color matches font color.i want change font size/color image changes. url should change automatically image changes.
html:
<div class="grid"> <figure class="effect-lexi effect-chocolate"> <div id="cf3" class="shadow"> <img src="http://tympanus.net/development/hovereffectideas/img/22.jpg" alt="image" class="bottom" /> <img src="http://tympanus.net/development/hovereffectideas/img/21.jpg" alt="image" class="top" /> </div> <figcaption> <h2>dark <span>chocolate smoothie</span></h2> <p>description</p> <a href="#">view more</a> </figcaption> </figure> </div>
is possible ? can me it.?
thanks,
using css3, might able wield blend mode accomplish this.
https://css-tricks.com/basics-css-blend-modes/
also, need use javascript history change url.
Comments
Post a Comment