How to maintain hover ability on scaling css3 rollover images.


hi all,

 

i'm having issue of images in muse. here's situation:

 

i have multiple images want scale when rollover them. started 300px 300px images, , placed them html objects in muse uploading them flickr , pasting direct link. in turn created 300px 300px minimum frame around objects. far, good.

 

i used -webkit transforms scale object 0.2 default. set css in "metadata" section page wanted effect used on. set scale 1 on hover. creates nice scaling effect without image blur, interpolation, or degradation.

 

the problem have multiple images (which have same hover effect) within 300px border, , won't scale since technically there invisible wall in front of neighboring object. potential problem i've yet address if hover effect working on neighboring object, i need dynamically change z-index other objects don't obscure image being hovered on.

 

html:

 

<div class="portrait">

<img src="http://farm4.staticflickr.com/3728/9576243835_20aa7bac89_o.png" width="300" height="300" alt=""/>

</div>

 

css:

<style type="text/css">

.portrait {

          -webkit-transition: 1s ease-in-out;

          -moz-transition: 1s ease-in-out;

          -ms-transition: 1s ease-in-out;

          -o-transition: 1s ease-in-out;

          transition: 1s ease-in-out;

          -webkit-transform: scale(.2);

       -webkit-filter: grayscale(1);

}

.portrait:hover {

          -webkit-transform: scale(1);

       -webkit-filter: grayscale(0);

}

</style>

 

 

any thoughts?

 

thanks in advance!

here picture illustrating problem in muse viewport. can see how frames overlap. disables other objects hover capability.

problem.jpg



More discussions in Help with using Adobe Muse CC


adobe

Comments

Popular posts from this blog

Adobe Acrobat Pro , Terminal Server Use

Thread: transmission-daemon isn't playing nice: "409: Conflict"

Thread: gpg: Conflicting Commands