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.

https://developer.mozilla.org/en-us/docs/web/api/history


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -