Note that there are some explanatory texts on larger screens.

plurals
  1. POcss mouseover effect bug only in firefox
    primarykey
    data
    text
    <p>Currently facing a problem in with a css mouseover effect that I created. </p> <p>If you have a look at this <code>http://176.32.230.21/luciaphotography.co.uk/</code> using chrome everything works fine, whenever you mouse over the any of the images, you see the relevant category image mouse over. Now in firefox, it does work but if you notice there are 2 problems:</p> <ol> <li><p>the images are not being resized properly, you can see the text on the swatches look blurry.</p></li> <li><p>(more important) if you notice that when you mouseover, the first image goes slightly smaller and you can see the category image slightly on the right of the picture (you'll see what I mean). </p></li> </ol> <p>I'm not quite sure what's happening but the second problem does not happen in internet explorer although the first problem does. I assum it's because I'm using IE9 and not 10.</p> <p>I'm using the latest versions of chrome and FF.</p> <pre><code>&lt;div id="widget1" class="widget-container"&gt; &lt;div class="textwidget"&gt; &lt;a href="#"&gt; &lt;img class="bottom" src="images/editorial.png"&gt; &lt;img class="top" src="images/front1.png"&gt; &lt;/a&gt; &lt;/div&gt; </code></pre> <p></p> <pre><code>.widget-container { height: 155px; width:155px; padding-right:2px; padding-left: 2px; float: left; position: relative; margin: 0 auto; } .widget-container img.top:hover { opacity: 0; } .widget-container img { position: absolute; left: 0; -webkit-transition: opacity 1s ease-in-out; -moz-transition: opacity 1s ease-in-out; -o-transition: opacity 1s ease-in-out; transition: opacity 1s ease-in-out; } .bottom { max-width: 155px; max-height: 155px; } .top { max-width: 155px; max-height: 155px; } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload